Sha256: 534c0813beab73005cae0aa85e431c805fe46aa1881c9e292c3afaeee46d6ea9

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

begin
  require "chefstyle"
  require "rubocop/rake_task"
  RuboCop::RakeTask.new(:style) do |task|
    task.options += ["--display-cop-names", "--no-color"]
  end
rescue LoadError
  puts "chefstyle is not available. (sudo) gem install chefstyle to do style checking."
end

RSpec::Core::RakeTask.new(:test)

task default: %i{test style}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
kitchen-vro-1.2.2 Rakefile
workflow-testing-1.0.9 Rakefile
workflow-testing-1.0.8 Rakefile
kitchen-vro-1.2.1 Rakefile