Sha256: cbd7c4682dec37af71ef3fe3fe378bcdef7ef7de06948d07d9d951f6c1090b8b
Contents?: true
Size: 390 Bytes
Versions: 188
Compression:
Stored size: 390 Bytes
Contents
#!/usr/bin/env ruby puts "Starting #{__FILE__} checks..." commands_to_run = [ 'bundle exec rake test', 'bundle exec rubocop -fs -D' ] success = [] commands_to_run.each do |c| success << (system c) end unless success.all? p success STDERR.puts <<-EOS Push will be aborted!!! Fix the problem above and correct the commit. EOS exit(1) end puts "Finished #{__FILE__} checks..."
Version data entries
188 entries across 188 versions & 1 rubygems