Sha256: bf9ff8a21b619a26fb527208d42e85c11e7e7452407991e4b2233edd60d44c2f

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chefdk-julia-0.4.4 files/default/Rakefile