Sha256: 9b1c6e9a12bf4c22ca63ac94759945868fbcc80ca48188cdb03957dc91dfb6cd
Contents?: true
Size: 480 Bytes
Versions: 6
Compression:
Stored size: 480 Bytes
Contents
namespace :metrics do ROODI_DIR = File.join(MetricFu::BASE_DIRECTORY, 'roodi') ROODI_FILE = File.join(ROODI_DIR, 'index.html') desc "A Ruby coding standards report using Roodi" task :roodi do mkdir_p(ROODI_DIR) unless File.directory?(ROODI_DIR) `echo '<pre>' > #{ROODI_FILE}` `roodi #{RAILS_ROOT}/lib/**/*.rb #{RAILS_ROOT}/app/**/*.rb >> #{ROODI_FILE}` `echo '</pre>' >> #{ROODI_FILE}` system("open #{ROODI_FILE}") if PLATFORM['darwin'] end end
Version data entries
6 entries across 6 versions & 3 rubygems