Sha256: 23cd5760738229fa33ed942284cf167d14a9dfdfd2de4bab4a57cce450438e27
Contents?: true
Size: 883 Bytes
Versions: 32
Compression:
Stored size: 883 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('abstractor.gemspec'), binding, 'abstractor.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/abstractor_tasks.rake' load 'test/lib/tasks/abstractor_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
32 entries across 32 versions & 1 rubygems