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
2011-01-04 17:44:01 -05:00

18 lines
487 B
Ruby

require 'rubygems'
require 'bundler/setup'
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