Knife-Zero doesn't include Berkshelf support, so vendoring everything in the repo is convenient again
16 lines
276 B
Ruby
16 lines
276 B
Ruby
require 'foodcritic'
|
|
require 'rspec/core/rake_task'
|
|
require 'rubocop/rake_task'
|
|
|
|
RuboCop::RakeTask.new(:rubocop)
|
|
|
|
FoodCritic::Rake::LintTask.new do |t|
|
|
t.options = {
|
|
fail_tags: ['any']
|
|
}
|
|
end
|
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
task default: %w[foodcritic rubocop spec]
|