Sha256: bce415e9cd5fd58faa8aa096906fd13b1eef11a58149402f19d35e2ca9122ca8

Contents?: true

Size: 438 Bytes

Versions: 50

Compression:

Stored size: 438 Bytes

Contents

#!/usr/bin/env ruby

# Check if parallel_tests is available
parallel_tests_available = ['rake', 'parallel:spec'] if File.exists?('Gemfile') && File.open('Gemfile').read.scan(/parallel_tests/).any?

command = if parallel_tests_available
  'b rake db:migrate && b rake parallel:prepare'
else
  'power-rake db:migrate'
end

4.times { puts }
puts "Running command:\n#{command}"
puts "============================================"
exec command

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
geordi-0.15.6 bin/migrate-all
geordi-0.15.5 bin/migrate-all
geordi-0.15.4 bin/migrate-all
geordi-0.15.3 bin/migrate-all
geordi-0.15.2 bin/migrate-all
geordi-0.15.1 bin/migrate-all
geordi-0.15.0 bin/migrate-all
geordi-0.14.9 bin/migrate-all
geordi-0.14.8 bin/migrate-all
geordi-0.14.7 bin/migrate-all
geordi-0.14.6 bin/migrate-all
geordi-0.14.5 bin/migrate-all
geordi-0.14.4 bin/migrate-all
geordi-0.14.3 bin/migrate-all
geordi-0.14.2 bin/migrate-all
geordi-0.14.1 bin/migrate-all
geordi-0.14.0 bin/migrate-all
geordi-0.13.3 bin/migrate-all
geordi-0.13.2 bin/migrate-all
geordi-0.13.1 bin/migrate-all