blob: fccb71b3110f65d5fd6cab29188a137b07f01d4c (
plain) (
tree)
|
|
STATS_DIRECTORIES = [
%w(Helpers app/helpers),
%w(Controllers app/controllers),
%w(APIs app/apis),
%w(Components components),
%w(Functionals test/functional),
%w(Models app/models),
%w(Units test/unit)
]
desc "Report code statistics (KLOCs, etc) from the application"
task :stats do
require 'code_statistics'
CodeStatistics.new(*STATS_DIRECTORIES).to_s
end
|