diff options
Diffstat (limited to 'rake_tasks/statistic.rake')
-rw-r--r-- | rake_tasks/statistic.rake | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/rake_tasks/statistic.rake b/rake_tasks/statistic.rake index eb49493..4923ed1 100644 --- a/rake_tasks/statistic.rake +++ b/rake_tasks/statistic.rake @@ -1,15 +1,15 @@ desc 'Report code statistics (LOC) from the application'
task :stats do
- require 'rake_helpers/code_statistics'
- CodeStatistics.new(
- ['Main', 'lib'],
- ['CodeRay', 'lib/{.,coderay}/'],
- [' Scanners', 'lib/coderay/scanners/**'],
- [' Encoders', 'lib/coderay/encoders/**'],
- [' Helpers', 'lib/coderay/helpers/**'],
- [' Styles', 'lib/coderay/styles/**'],
- ['Test', 'test'],
- [' Test Data', 'test/*/**', /\.in\./, false],
- ['Demo Tests', 'demo/**']
- ).print
+ require 'rake_helpers/code_statistics'
+ CodeStatistics.new(
+ ['Main', 'lib'],
+ ['CodeRay', 'lib/{.,coderay}/'],
+ [' Scanners', 'lib/coderay/scanners/**'],
+ [' Encoders', 'lib/coderay/encoders/**'],
+ [' Helpers', 'lib/coderay/helpers/**'],
+ [' Styles', 'lib/coderay/styles/**'],
+ ['Test', 'test'],
+ [' Test Data', 'test/*/**', /\.in\./, false],
+ ['Demo Tests', 'demo/**']
+ ).print
end
|