diff options
author | Michael Koziarski <michael@koziarski.com> | 2006-10-27 01:26:11 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2006-10-27 01:26:11 +0000 |
commit | e808315725d7dad1745572c8ef9ae7e4f6ff0b48 (patch) | |
tree | 50399a7c19cc3be380f85e39acfeeb88c18e38ba /railties/lib/tasks | |
parent | 464102d5511ff3f2d8dc3bde44e638d840e98206 (diff) | |
download | rails-e808315725d7dad1745572c8ef9ae7e4f6ff0b48.tar.gz rails-e808315725d7dad1745572c8ef9ae7e4f6ff0b48.tar.bz2 rails-e808315725d7dad1745572c8ef9ae7e4f6ff0b48.zip |
Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/statistics.rake | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/railties/lib/tasks/statistics.rake b/railties/lib/tasks/statistics.rake index 87b89e5198..dbd0773194 100644 --- a/railties/lib/tasks/statistics.rake +++ b/railties/lib/tasks/statistics.rake @@ -1,13 +1,14 @@ STATS_DIRECTORIES = [ + %w(Controllers app/controllers), %w(Helpers app/helpers), - %w(Controllers app/controllers), + %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(Models app/models), - %w(Unit\ tests test/unit), - %w(Libraries lib/), - %w(Integration\ tests test/integration) + %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" |