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