Sha256: e78aee38c3a660e66fd69eb032e41d1e64f42f2177a04134ec7a7e34143eccc7
Contents?: true
Size: 428 Bytes
Versions: 8
Compression:
Stored size: 428 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 parallel:prepare' else 'power-rake db:migrate' end 4.times { puts } puts "Running command:\n#{command}" puts "============================================" exec command
Version data entries
8 entries across 8 versions & 1 rubygems