diff options
author | Carl Lerche <me@carllerche.com> | 2010-11-16 14:48:23 -0800 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2010-11-16 17:19:46 -0800 |
commit | 7e4f9dbd674a5f66c0b0eb6f75783ff31b045dc3 (patch) | |
tree | 14fff1e017b0284fd7ef93bf1d80873ad948c03d /Rakefile | |
parent | 2738ec891b6b6584ec7bd79532e5eac71282436e (diff) | |
download | rails-7e4f9dbd674a5f66c0b0eb6f75783ff31b045dc3.tar.gz rails-7e4f9dbd674a5f66c0b0eb6f75783ff31b045dc3.tar.bz2 rails-7e4f9dbd674a5f66c0b0eb6f75783ff31b045dc3.zip |
Remove the old gem release task
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -3,7 +3,6 @@ require 'rdoc' require 'rake' require 'rdoc/task' -require 'rake/gempackagetask' require 'net/http' # RDoc skips some files in the Rails tree due to its binary? predicate. This is a quick @@ -55,27 +54,6 @@ task :smoke do system %(cd activerecord && #{$0} sqlite3:isolated_test) end -spec = eval(File.read('rails.gemspec')) -Rake::GemPackageTask.new(spec) do |pkg| - pkg.gem_spec = spec -end - -desc "Release all gems to gemcutter. Package rails, package & push components, then push rails" -task :release => :release_projects do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end - -desc "Release all components to gemcutter." -task :release_projects => :package do - errors = [] - PROJECTS.each do |project| - system(%(cd #{project} && #{$0} release)) || errors << project - end - fail("Errors in #{errors.join(', ')}") unless errors.empty? -end - desc "Install gems for all projects." task :install => :gem do version = File.read("RAILS_VERSION").strip |