blob: 03c1c266fb0424b1f6aece4a2efc2c440a6354ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require "bundler"
require "rspec/core/rake_task"
Bundler::GemHelper.install_tasks name: "mixlib-shellout"
require "chefstyle"
require "rubocop/rake_task"
desc "Run Ruby style checks"
RuboCop::RakeTask.new(:style)
desc "Run all specs in spec directory"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = FileList["spec/**/*_spec.rb"]
end
task default: [:style, :spec]
|