Sha256: 1fc3b8997fb0a5abe74105dacf274f843a5ecae0f3131a817ac5a7b365ea8b41
Contents?: true
Size: 624 Bytes
Versions: 2
Compression:
Stored size: 624 Bytes
Contents
require "bundler/gem_tasks" require "chefstyle" require "rubocop/rake_task" RuboCop::RakeTask.new(:style) do |task| task.options += ["--display-cop-names", "--no-color"] end # Create the spec task. require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:test, :tag) do |t, args| t.rspec_opts = [].tap do |a| a << "--color" a << "--format #{ENV["CI"] ? "documentation" : "progress"}" a << "--backtrace" if ENV["VERBOSE"] || ENV["DEBUG"] a << "--seed #{ENV["SEED"]}" if ENV["SEED"] a << "--tag #{args[:tag]}" if args[:tag] a << "--default-path test" a << "-I test/spec" end.join(" ") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kitchen-dsc-0.12.1 | Rakefile |
kitchen-dsc-0.12.0 | Rakefile |