Sha256: ee9c19b960b9c642ae396808940e58110f6c70811833172a0993f9834074d4bc

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

require "bundler/gem_tasks"

task default: :spec

begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new(:spec, :tag) do |t, task_args|
    t.rspec_opts = ['--format documentation']
    t.rspec_opts << '--color'
    t.rspec_opts << '--order rand:42'
    t.rspec_opts << "--tag #{task_args[:tag]}" if task_args[:tag]
  end
rescue LoadError
  # no rspec available
  raise 'Yo, no RSpec?'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slack_notifier-1.0.4 Rakefile
slack_notifier-1.0.3 Rakefile