Sha256: c4aa4d75e31f0fa1629602d89af9811647a7a4d18a774bcd65c479ca111e79d6

Contents?: true

Size: 741 Bytes

Versions: 10

Compression:

Stored size: 741 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'cane/rake_task'
require 'rubocop/rake_task'

desc 'Run cane, RuboCop, unit and integration tests'
task test: %w(test:style spec:unit spec:integration)

namespace :test do
  desc 'Run cane'
  Cane::RakeTask.new(:cane)

  desc 'Run RuboCop'
  RuboCop::RakeTask.new

  desc 'Run cane and RuboCop'
  task style: %w(test:cane test:rubocop)
end

RSpec::Core::RakeTask.new('spec') do |config|
  config.pattern = './spec/**{,/*/**}/*_spec.rb'
end

RSpec::Core::RakeTask.new('spec:unit') do |config|
  config.pattern = './spec/unit/**{,/*/**}/*_spec.rb'
end

RSpec::Core::RakeTask.new('spec:integration') do |config|
  config.pattern = './spec/integration/**{,/*/**}/*_spec.rb'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
percheron-0.7.10 Rakefile
percheron-0.7.9 Rakefile
percheron-0.7.8 Rakefile
percheron-0.7.7 Rakefile
percheron-0.7.6 Rakefile
percheron-0.7.5 Rakefile
percheron-0.7.4 Rakefile
percheron-0.7.3 Rakefile
percheron-0.7.2 Rakefile
percheron-0.7.1 Rakefile