Skip to content

Instantly share code, notes, and snippets.

@craigw
Created June 4, 2009 13:54
Show Gist options
  • Save craigw/123622 to your computer and use it in GitHub Desktop.
Save craigw/123622 to your computer and use it in GitHub Desktop.
task :cruise do
execute_tasks %W(configure_cruise gems:unpack gems:build db:migrate)
trace = ARGV.include?("--trace") ? '--trace' : ''
puts %x[rake RAILS_ENV=cucumber db:migrate #{trace}].strip
execute_tasks %W(spec features)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment