Sha256: 8a765a2b6074349cb2213c5cb7d710b2707c5f8b90032c3dfebe1183a534af92

Contents?: true

Size: 800 Bytes

Versions: 16

Compression:

Stored size: 800 Bytes

Contents

require "bundler/gem_tasks"

require "rspec/core/rake_task"
%i{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

16 entries across 16 versions & 1 rubygems

Version Path
omnibus-9.0.24 Rakefile
omnibus-9.0.23 Rakefile
omnibus-9.0.22 Rakefile
omnibus-9.0.17 Rakefile
omnibus-9.0.12 Rakefile
omnibus-9.0.11 Rakefile
omnibus-9.0.8 Rakefile
omnibus-8.3.2 Rakefile
omnibus-8.2.2 Rakefile
omnibus-8.1.15 Rakefile
omnibus-8.0.15 Rakefile
omnibus-8.0.9 Rakefile
omnibus-7.0.34 Rakefile
omnibus-7.0.13 Rakefile
omnibus-7.0.12 Rakefile
omnibus-6.1.9 Rakefile