diff options
author | Carl Lerche <carllerche@mac.com> | 2009-09-01 12:19:09 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-09-01 12:19:09 -0700 |
commit | 016b1d3596ce12367edac8bb442f5c630a453ecf (patch) | |
tree | 49435918ebb372f617c3cc95bc495f6dd5c12d24 /activerecord/Rakefile | |
parent | 22d5e3d89d619acb9179dfcdd33f1afaee9567ca (diff) | |
parent | da636809daca9c338200811d3590e446f57c8e81 (diff) | |
download | rails-016b1d3596ce12367edac8bb442f5c630a453ecf.tar.gz rails-016b1d3596ce12367edac8bb442f5c630a453ecf.tar.bz2 rails-016b1d3596ce12367edac8bb442f5c630a453ecf.zip |
Merge branch 'master' of git@github.com:rails/rails
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r-- | activerecord/Rakefile | 6 |
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 |