Sha256: 4977689b5675a5bb93dd824a36bc3351b9d69943f603c7481bbb672900bc3345

Contents?: true

Size: 715 Bytes

Versions: 2

Compression:

Stored size: 715 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 'rubocop/rake_task'
desc 'Run Ruby style checks'
Rubocop::RakeTask.new(:style)

namespace :travis do
  desc 'Run tests on Travis'
  task ci: %w(unit acceptance style)
end

task default: %w(travis:ci)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omnibus-3.1.1 Rakefile
omnibus-3.1.0 Rakefile