Sha256: daf665aaa0dfc5707fd384afaea01dc60cf40fa7eb1efd2bc66c9de3e70bbd3b

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 Bytes

Contents

task :bootstrap do
  `git submodule update --init` if `git submodule` =~ /^[^ ]/
  `cp config/database.sample.yml config/database.yml` unless File.exist?('config/database.yml')
  `rake gems:install db:create RAILS_ENV=test`
  `rake gems:install db:create RAILS_ENV=cucumber`
end

Rake::Task[:default].clear
desc "Bootstrap the current project and run the tests."
task :default => [:bootstrap, :spec, :cucumber]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bard-0.7.6 lib/bard/rake.rb
bard-0.7.5 lib/rake/bard.rb