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