Sha256: 6c20ff4aaa9189631286cc8810afe044041c23236be891b1761ab8ce8a6bd062

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

require 'bundler/gem_tasks'

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

  # Default directory to look in is `/specs`
  # Run with `rake spec`
  RSpec::Core::RakeTask.new(:specs) do |task|
    task.rspec_opts = ['--color']
  end

  Cucumber::Rake::Task.new(:features) do |t|
    t.cucumber_opts = "--format progress"
  end

  rescue LoadError

  desc 'RSpec rake task not available'
  task :specs do
    abort 'RSpec rake task is not available. Be sure to install RSpec as a gem or plugin'
  end

  desc 'Cucumber rake task not available'
  task :features do
    abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
  end

end

task :test => [:build,:install,:specs, :features]


task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eyemask-0.1.0 Rakefile