Sha256: cf5115cb140779d7737245ec48664db955c75d978f51ae74d234d07d9f29d11a

Contents?: true

Size: 801 Bytes

Versions: 11

Compression:

Stored size: 801 Bytes

Contents

require "bundler/gem_tasks"

require "rspec/core/rake_task"
[:unit, :functional].each do |type|
  RSpec::Core::RakeTask.new(type) do |t|
    t.pattern = "spec/#{type}/**/*_spec.rb"
    t.rspec_opts = [].tap do |a|
      a.push("--color")
      a.push("--format progress")
    end.join(" ")
  end
end

require "cucumber/rake/task"
Cucumber::Rake::Task.new(:acceptance) do |t|
  t.cucumber_opts = [].tap do |a|
    a.push("--color")
    a.push("--format progress")
    a.push("--strict")
  end.join(" ")
end

require "chefstyle"
require "rubocop/rake_task"
desc " Run ChefStyle"
RuboCop::RakeTask.new(:chefstyle) do |task|
  task.options << "--display-cop-names"
end

namespace :travis do
  desc "Run tests on Travis"
  task ci: %w{chefstyle unit functional acceptance}
end

task default: %w{travis:ci}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
omnibus-6.1.7 Rakefile
omnibus-6.1.4 Rakefile
omnibus-6.0.30 Rakefile
omnibus-6.0.25 Rakefile
omnibus-6.0.24 Rakefile
omnibus-6.0.1 Rakefile
omnibus-5.6.8 Rakefile
omnibus-5.6.6 Rakefile
omnibus-5.6.1 Rakefile
omnibus-5.6.0 Rakefile
omnibus-5.5.0 Rakefile