Created
May 20, 2009 16:17
-
-
Save metamn/114918 to your computer and use it in GitHub Desktop.
metric_fu application template
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
# metric_fu based code analysis | |
if yes?("Load the Basic Rails template?") | |
run "wget http://gist.github.com/114140.txt" | |
run "mv 114140.txt base_template.rb" | |
load_template "base_template.rb" | |
end | |
if yes?("(Re)Install metric_fu? (with roodi, flay, flog, reek, ...) ") | |
run "sudo gem install jscruggs-metric_fu" | |
end | |
run "touch lib/tasks/quality.rake" | |
file 'lib/tasks/quality.rake', <<-CODE | |
require 'metric_fu' | |
CODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment