aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activeresource/Rakefile')
-rw-r--r--activeresource/Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/activeresource/Rakefile b/activeresource/Rakefile
index def489fad9..6234b159cd 100644
--- a/activeresource/Rakefile
+++ b/activeresource/Rakefile
@@ -94,6 +94,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