1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/Rakefile

19 lines
487 B
Text
Raw Normal View History

require 'rubygems'
require 'bundler/setup'
2010-06-09 11:42:48 -04:00
require 'rake/gempackagetask'
require 'cucumber/rake/task'
eval("$specification = #{IO.read('factory_girl_rails.gemspec')}")
Rake::GemPackageTask.new($specification) do |package|
package.need_zip = true
package.need_tar = true
end
Cucumber::Rake::Task.new(:cucumber) do |t|
t.fork = true
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end
desc "Default: run the cucumber scenarios"
task :default => :cucumber