1 require 'rspec/core/rake_task'
2 require 'rubocop/rake_task'
4 require 'stove/rake_task'
7 desc 'Run Ruby style checks'
8 RuboCop::RakeTask.new(:ruby)
10 desc 'Run Chef style checks'
11 FoodCritic::Rake::LintTask.new(:chef) do |t|
18 desc 'Run all style checks'
19 task style: ['style:chef', 'style:ruby']
21 desc 'Run ChefSpec examples'
22 RSpec::Core::RakeTask.new(:spec)
24 desc 'Publish cookbook'
25 Stove::RakeTask.new(:publish) do |t|
28 '--log-level', 'info',
32 task default: ['style', 'spec']