diff options
author | Francis Irving <francis@mysociety.org> | 2009-12-03 14:18:06 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2009-12-03 14:18:06 +0000 |
commit | c132fb5904bed2827ad3ef1173cb12d9cf9f96a2 (patch) | |
tree | 75e5f4380eac498576c8443b5b4bde7e599bed5a /vendor/rails-2.0.2/railties/lib/tasks/statistics.rake | |
parent | 2eabd0bf1d5c3d0cfa0f2883f6cfd65298ef4cd1 (diff) |
Remove old versions of Rails
Diffstat (limited to 'vendor/rails-2.0.2/railties/lib/tasks/statistics.rake')
-rw-r--r-- | vendor/rails-2.0.2/railties/lib/tasks/statistics.rake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/rails-2.0.2/railties/lib/tasks/statistics.rake b/vendor/rails-2.0.2/railties/lib/tasks/statistics.rake deleted file mode 100644 index dbd077319..000000000 --- a/vendor/rails-2.0.2/railties/lib/tasks/statistics.rake +++ /dev/null @@ -1,18 +0,0 @@ -STATS_DIRECTORIES = [ - %w(Controllers app/controllers), - %w(Helpers app/helpers), - %w(Models app/models), - %w(Libraries lib/), - %w(APIs app/apis), - %w(Components components), - %w(Integration\ tests test/integration), - %w(Functional\ tests test/functional), - %w(Unit\ tests test/unit) - -].collect { |name, dir| [ name, "#{RAILS_ROOT}/#{dir}" ] }.select { |name, dir| File.directory?(dir) } - -desc "Report code statistics (KLOCs, etc) from the application" -task :stats do - require 'code_statistics' - CodeStatistics.new(*STATS_DIRECTORIES).to_s -end |