Sha256: 1471bb1a3cff42c1b10a30b6c770ef18449e1870c45e6341ab1640642694eb2f
Contents?: true
Size: 563 Bytes
Versions: 2
Compression:
Stored size: 563 Bytes
Contents
require 'rubocop/rake_task' require 'foodcritic' require 'rspec/core/rake_task' RuboCop::RakeTask.new do |rubocop| rubocop.options = ['-D'] end FoodCritic::Rake::LintTask.new do |foodcritic| foodcritic.options[:fail_tags] = %w(any) end RSpec::Core::RakeTask.new desc 'Run Rubocop and Foodcritic style checks' task style: [:rubocop, :foodcritic] desc 'Run all style checks and unit tests' task test: [:style, :spec] task default: :test desc 'Generate ChefSpec coverage report' task :coverage do ENV['COVERAGE'] = 'true' Rake::Task[:spec].invoke end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chefdk-julia-1.0.1 | files/default/Rakefile |
chefdk-julia-1.0.0 | files/default/Rakefile |