Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 433 Bytes
#!/usr/bin/env rake
require 'foodcritic'
begin
require 'emeril/rake'
rescue LoadError
puts ">>>>> Emeril gem not loaded, omitting tasks" unless ENV['CI']
end
FoodCritic::Rake::LintTask.new do |t|
t.options = { :fail_tags => ['any'] }
end
begin
require 'kitchen/rake_tasks'
Kitchen::RakeTasks.new
rescue LoadError
puts ">>>>> Kitchen gem not loaded, omitting tasks" unless ENV['CI']
end
task :default => [:foodcritic]