mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
stats need the include paths set by the environment #782 [adamm]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -96,7 +96,7 @@ Rake::RDocTask.new("apidoc") { |rdoc|
|
||||
}
|
||||
|
||||
desc "Report code statistics (KLOCs, etc) from the application"
|
||||
task :stats do
|
||||
task :stats => [ :environment ] do
|
||||
require 'code_statistics'
|
||||
CodeStatistics.new(
|
||||
["Helpers", "app/helpers"],
|
||||
|
||||
Reference in New Issue
Block a user