mirror of
https://github.com/github/rails.git
synced 2026-02-10 14:15:00 -05:00
Only include dirs that exists in the stats
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -6,7 +6,7 @@ STATS_DIRECTORIES = [
|
||||
%w(Functionals test/functional),
|
||||
%w(Models app/models),
|
||||
%w(Units 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
|
||||
|
||||
Reference in New Issue
Block a user