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 1181995436..7b7a83d2fc 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -134,6 +134,12 @@ Rake::GemPackageTask.new(spec) do |p| p.need_zip = true end +task :gemspec do + File.open(File.join(File.dirname(__FILE__), "#{spec.name}.gemspec"), "w") do |file| + file.puts spec.to_ruby + end +end + task :lines do lines, codelines, total_lines, total_codelines = 0, 0, 0, 0 |