Sha256: f1bfeaccdd7cf0b830753c8101355915758f14a32f8bf4551920dd4a95055261

Contents?: true

Size: 411 Bytes

Versions: 143

Compression:

Stored size: 411 Bytes

Contents

#!/usr/bin/env ruby

puts "Starting #{__FILE__} checks..."

commands_to_run = [
  'rake 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

143 entries across 143 versions & 1 rubygems

Version Path
trackler-2.0.6.12 tracks/ruby/bin/local-status-check
trackler-2.0.6.11 tracks/ruby/bin/local-status-check
trackler-2.0.6.10 tracks/ruby/bin/local-status-check