Created
July 11, 2011 20:18
-
-
Save steveklabnik/1076695 to your computer and use it in GitHub Desktop.
My new favorite Rake task
This file contains hidden or 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
require 'flog' | |
require 'flog_task' | |
require 'flay' | |
require 'flay_task' | |
require 'roodi' | |
require 'roodi_task' | |
FlogTask.new :flog, SOME_NUMBER_HERE, %w[app lib] | |
FlayTask.new :flay, OTHER_NUMBER_HERE, %w[app lib] | |
RoodiTask.new 'roodi', ['app/**/*.rb', 'lib/**/*.rb'] | |
desc "Runs all code quality metrics" | |
task :quality => [:flog, :flay, :roodi] |
That is the authority for all of them, yes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure about the authority of these sources but still a good start for the ones (like me) who don't know these tools: