Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove reek task

  • Loading branch information...
commit f35c7562f95148242374d5d4f802bf55c327847f 1 parent 029a20c
Dan Kubb authored
Showing with 1 addition and 22 deletions.
  1. +1 −1  tasks/metrics/ci.rake
  2. +0 −21 tasks/metrics/reek.rake
2  tasks/metrics/ci.rake
View
@@ -5,5 +5,5 @@ task :ci => %w[ ci:metrics metrics:heckle ]
namespace :ci do
desc 'Run metrics (except heckle) and spec'
- task :metrics => %w[ spec metrics:verify_measurements metrics:flog metrics:flay metrics:reek metrics:roodi metrics:all ]
+ task :metrics => %w[ spec metrics:verify_measurements metrics:flog metrics:flay metrics:roodi metrics:all ]
end
21 tasks/metrics/reek.rake
View
@@ -1,21 +0,0 @@
-# encoding: utf-8
-
-namespace :metrics do
- begin
- require 'reek/rake/task'
-
- RBX_18_MODE = RUBY_VERSION < '1.9' && defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
-
- Reek::Rake::Task.new do |t|
- # reek has some problems under rbx in 1.8 mode that cause the underlying
- # script to raise an exception. Rather than halt the "rake ci" process due
- # to one bug, we choose to ignore it in this specific case until reek can be
- # fixed.
- t.fail_on_error = ! RBX_18_MODE # always true, except under rbx 18 mode
- end
- rescue LoadError
- task :reek do
- $stderr.puts 'Reek is not available. In order to run reek, you must: gem install reek'
- end
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.