# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path("../config/application", __FILE__)

Supermarket::Application.load_tasks

require "chefstyle"
require "rubocop/rake_task"
desc "Run ChefStyle-flavored Rubocop"
RuboCop::RakeTask.new(:chefstyle) do |task|
  task.verbose = false
end

task lint: :chefstyle

task default: [:spec, :lint]
