-
-
Save varyform/d006649d54c2b55e1245a5b1e8b75a9b to your computer and use it in GitHub Desktop.
Add more folders to rake stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :register_statistics do | |
require 'rails/code_statistics' | |
STATS_DIRECTORIES << ['Services', 'app/services'] | |
STATS_DIRECTORIES << ['Services Tests', 'test/services'] | |
CodeStatistics::TEST_TYPES << 'Services Tests' | |
end | |
Rake::Task['stats'].enhance [:register_statistics] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!