Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (33 sloc) 0.759 kB
6961805 @dkubb Updated to work with Jeweler
authored
1 begin
2 require 'metric_fu'
3 rescue LoadError
4 namespace :metrics do
5 task :all do
6 abort 'metric_fu is not available. In order to run metrics:all, you must: gem install metric_fu'
7 end
8 end
9 end
10
11 begin
12 require 'reek/adapters/rake_task'
13
14 Reek::RakeTask.new do |t|
15 t.fail_on_error = true
16 t.verbose = false
17 t.source_files = 'lib/**/*.rb'
18 end
19 rescue LoadError
20 task :reek do
21 abort 'Reek is not available. In order to run reek, you must: gem install reek'
22 end
23 end
24
25 begin
26 require 'roodi'
27 require 'rake/tasklib'
28 require 'roodi_task'
29
30 RoodiTask.new do |t|
31 t.verbose = false
32 end
33 rescue LoadError
34 task :roodi do
35 abort 'Roodi is not available. In order to run roodi, you must: gem install roodi'
36 end
37 end
Something went wrong with that request. Please try again.