Sha256: b7541fc51cb954a42374cb9f67f9d0edfdda2728c9cbaef7d1783a37c0faac0e

Contents?: true

Size: 416 Bytes

Versions: 13

Compression:

Stored size: 416 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 db:schema:load RAILS_ENV=test`
  `rake gems:install 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

13 entries across 13 versions & 1 rubygems

Version Path
bard-0.8.9 lib/bard/rake.rb
bard-0.8.8 lib/bard/rake.rb
bard-0.8.7 lib/bard/rake.rb
bard-0.8.6 lib/bard/rake.rb
bard-0.8.5 lib/bard/rake.rb
bard-0.8.4 lib/bard/rake.rb
bard-0.8.3 lib/bard/rake.rb
bard-0.8.2 lib/bard/rake.rb
bard-0.8.1 lib/bard/rake.rb
bard-0.8.0 lib/bard/rake.rb
bard-0.7.9 lib/bard/rake.rb
bard-0.7.8 lib/bard/rake.rb
bard-0.7.7 lib/bard/rake.rb