Sha256: 5e8d3f1b91ca477ea2fc5978a1f1bd53bf61d3ebdb35357d6db6f90447441c7b

Contents?: true

Size: 879 Bytes

Versions: 7

Compression:

Stored size: 879 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
  require 'cucumber/rake/task'
  require 'rspec/core/rake_task'
  require 'rubygems/package_task'
end

gemspec = eval(File.read('discerner.gemspec'), binding, 'discerner.gemspec')
Gem::PackageTask.new(gemspec).define
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
$:.unshift File.join(File.dirname(__FILE__), 'spec','support')
load 'rails/tasks/engine.rake' if File.exists?(APP_RAKEFILE)
load 'lib/tasks/discerner_tasks.rake'
load 'test/lib/tasks/discerner_test_tasks.rake'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

namespace :cucumber do
  Cucumber::Rake::Task.new(:wip, 'Run features that are being worked on') do |t|
    t.profile = 'wip'
  end

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

task :cucumber => 'cucumber:features'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
discerner-1.2.2 Rakefile
discerner-1.2.1 Rakefile
discerner-1.2.0 Rakefile
discerner-2.0.0 Rakefile
discerner-1.1.20 Rakefile
discerner-1.1.19 Rakefile
discerner-1.1.18 Rakefile