diff options
Diffstat (limited to 'rake_tasks')
-rw-r--r-- | rake_tasks/statistic.rake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rake_tasks/statistic.rake b/rake_tasks/statistic.rake index 08f8a0e..b66a4ab 100644 --- a/rake_tasks/statistic.rake +++ b/rake_tasks/statistic.rake @@ -2,15 +2,17 @@ desc 'Report code statistics (LOC) from the application' task :stats do
require 'rake_helpers/code_statistics'
CodeStatistics.new(
- ['Main', 'lib'],
- ['CodeRay', 'lib/{.,coderay}/'],
+ ['Main', 'lib', /coderay.rb$/],
+ ['CodeRay', 'lib/coderay/'],
[' Scanners', 'lib/coderay/scanners/**'],
[' Encoders', 'lib/coderay/encoders/**'],
[' Helpers', 'lib/coderay/helpers/**'],
[' Styles', 'lib/coderay/styles/**'],
+ ['Executable Tests', 'test/executable/**'],
['Functional Tests', 'test/functional/**'],
['Scanner Tests', 'test/scanners/**', /suite\.rb$/],
- #[' Test Data', 'test/scanners/**', /\.in\./, false],
+ ['Unit Tests', 'test/unit/**'],
+ # [' Test Data', 'test/scanners/**', /\.in\./, false],
['Demos', 'sample/**']
).print
end
|