Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 22 lines (17 sloc) 0.433 kb
5dc035c @fnichol Add Foodcritic and TravisCI support.
authored
1 #!/usr/bin/env rake
7fd62c0 @fnichol Update Rakefile & add Test Kitchen.
authored
2 require 'foodcritic'
5dc035c @fnichol Add Foodcritic and TravisCI support.
authored
3
7fd62c0 @fnichol Update Rakefile & add Test Kitchen.
authored
4 begin
5 require 'emeril/rake'
6 rescue LoadError
7 puts ">>>>> Emeril gem not loaded, omitting tasks" unless ENV['CI']
5dc035c @fnichol Add Foodcritic and TravisCI support.
authored
8 end
9
7fd62c0 @fnichol Update Rakefile & add Test Kitchen.
authored
10 FoodCritic::Rake::LintTask.new do |t|
11 t.options = { :fail_tags => ['any'] }
12 end
5dc035c @fnichol Add Foodcritic and TravisCI support.
authored
13
7fd62c0 @fnichol Update Rakefile & add Test Kitchen.
authored
14 begin
15 require 'kitchen/rake_tasks'
16 Kitchen::RakeTasks.new
17 rescue LoadError
18 puts ">>>>> Kitchen gem not loaded, omitting tasks" unless ENV['CI']
5dc035c @fnichol Add Foodcritic and TravisCI support.
authored
19 end
7fd62c0 @fnichol Update Rakefile & add Test Kitchen.
authored
20
21 task :default => [:foodcritic]
Something went wrong with that request. Please try again.