Sha256: 8d2d304d9db4a75db357983fee776c64d58e8d36f7155bc9c66b8cf37c52a9da

Contents?: true

Size: 396 Bytes

Versions: 6

Compression:

Stored size: 396 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:test)

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

task default: %i{test style}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kitchen-vra-3.3.3 Rakefile
kitchen-vra-3.3.2 Rakefile
kitchen-vra-3.3.1 Rakefile
kitchen-vra-3.3.0 Rakefile
kitchen-vra-3.2.1 Rakefile
kitchen-vra-3.2.0 Rakefile