Sha256: d77a74101ab0a4274da76593e0508d4d663d421e69d29023ce6b7863a1cc72ce
Contents?: true
Size: 411 Bytes
Versions: 56
Compression:
Stored size: 411 Bytes
Contents
#!/usr/bin/env ruby puts "Starting #{__FILE__} checks..." commands_to_run = [ 'make test', 'bundle exec rubocop -fs -D', 'bin/executable-tests-check', ] 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
56 entries across 56 versions & 1 rubygems