lib/tasks/roodi.rake in jayzes-metric_fu-0.8.0.1 vs lib/tasks/roodi.rake in jayzes-metric_fu-0.8.0.2
- old
+ new
@@ -2,10 +2,10 @@
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 :reek do
+ 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']
\ No newline at end of file