mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
show stats for app/jobs
This commit is contained in:
parent
ba1d02d833
commit
8a732e0474
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
STATS_DIRECTORIES = [
|
||||
%w(Controllers app/controllers),
|
||||
%w(Helpers app/helpers),
|
||||
%w(Jobs app/jobs),
|
||||
%w(Models app/models),
|
||||
%w(Mailers app/mailers),
|
||||
%w(Javascripts app/assets/javascripts),
|
||||
|
@ -24,4 +25,4 @@ desc "Report code statistics (KLOCs, etc) from the application or engine"
|
|||
task :stats do
|
||||
require 'rails/code_statistics'
|
||||
CodeStatistics.new(*STATS_DIRECTORIES).to_s
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue