Sha256: b056c16aff306d21a7aab97595cf5176d835c10e22b55587541928430e89bee6
Contents?: true
Size: 873 Bytes
Versions: 16
Compression:
Stored size: 873 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
16 entries across 16 versions & 1 rubygems