Skip to content

Instantly share code, notes, and snippets.

@ytaras
ytaras / rails_best_practices.rake
Created November 27, 2012 11:13 — forked from bash0C7/rails_best_practices.rake
exec rails_best_practices on "rails3 rake" for jenkins plot plugin
namespace :rails_best_practices do
desc "run rails best practices"
task :jenkins_plot_plugin => :environment do
cd Rails.root do
OUTDIR = "#{Rails.root}/reports"
mkdir OUTDIR unless FileTest.exist? OUTDIR
OUTFILE = "#{OUTDIR}/rails_best_practices.properties"