Sha256: 7b98dac468c1b0e1a5c51731e36280bb6e8205cd76d51f3a93765415fef0d076

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'

desc "Run all specs in spec/"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.fail_on_error = true
  t.pattern = "./spec/**/*_spec.rb"
  t.rspec_opts = %w[--color]
end

desc "Run all cukes in features/"
Cucumber::Rake::Task.new(:features) do |t|
  tags = RUBY_PLATFORM =~ /darwin/ ? "" : "--tags ~@ios"
  t.cucumber_opts = "features --format pretty #{tags}"
end

task :default => [:spec, :features]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
license_finder-1.1.1-java Rakefile
license_finder-1.1.1 Rakefile
license_finder-1.1.0 Rakefile
license_finder-1.0.1 Rakefile
license_finder-1.0.0.1 Rakefile