diff options
Diffstat (limited to 'actionpack/Rakefile')
-rw-r--r-- | actionpack/Rakefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 863daa4b44..e675e67dc6 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -4,6 +4,7 @@ require 'rake/testtask' require 'rake/rdoctask' require 'rake/packagetask' require 'rake/gempackagetask' +require 'rake/gemcutter' require File.join(File.dirname(__FILE__), 'lib', 'action_pack', 'version') PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' @@ -70,6 +71,11 @@ Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec end +Rake::Gemcutter::Tasks(spec) + +desc "Release to gemcutter" +task :release => [:package, 'gem:push'] + task :lines do lines, codelines, total_lines, total_codelines = 0, 0, 0, 0 |