mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-22 16:56:10 +01:00
unfreeze rails
This commit is contained in:
parent
514045e8cb
commit
ee751a5ced
1563 changed files with 0 additions and 216754 deletions
17
vendor/rails/railties/lib/tasks/statistics.rake
vendored
17
vendor/rails/railties/lib/tasks/statistics.rake
vendored
|
|
@ -1,17 +0,0 @@
|
|||
STATS_DIRECTORIES = [
|
||||
%w(Controllers app/controllers),
|
||||
%w(Helpers app/helpers),
|
||||
%w(Models app/models),
|
||||
%w(Libraries lib/),
|
||||
%w(APIs app/apis),
|
||||
%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
|
||||
Loading…
Add table
Add a link
Reference in a new issue