Skip to content

Instantly share code, notes, and snippets.

@steveklabnik
Created July 11, 2011 20:18
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save steveklabnik/1076695 to your computer and use it in GitHub Desktop.
Save steveklabnik/1076695 to your computer and use it in GitHub Desktop.
My new favorite Rake task
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]
@steveklabnik
Copy link
Author

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