aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/Rakefile')
-rw-r--r--actionpack/Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile
index 863daa4b44..c45f88ed04 100644
--- a/actionpack/Rakefile
+++ b/actionpack/Rakefile
@@ -70,6 +70,13 @@ Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end
+desc "Release to gemcutter"
+task :release => :package do
+ require 'rake/gemcutter'
+ Rake::Gemcutter::Tasks.new(spec).define
+ Rake::Task['gem:push'].invoke
+end
+
task :lines do
lines, codelines, total_lines, total_codelines = 0, 0, 0, 0