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.8.48 tracks/ruby/bin/local-status-check
trackler-2.0.8.47 tracks/ruby/bin/local-status-check
trackler-2.0.8.46 tracks/ruby/bin/local-status-check
trackler-2.0.8.45 tracks/ruby/bin/local-status-check
trackler-2.0.8.44 tracks/ruby/bin/local-status-check
trackler-2.0.8.43 tracks/ruby/bin/local-status-check
trackler-2.0.8.42 tracks/ruby/bin/local-status-check
trackler-2.0.8.41 tracks/ruby/bin/local-status-check
trackler-2.0.8.40 tracks/ruby/bin/local-status-check
trackler-2.0.8.39 tracks/ruby/bin/local-status-check
trackler-2.0.8.38 tracks/ruby/bin/local-status-check
trackler-2.0.8.37 tracks/ruby/bin/local-status-check
trackler-2.0.8.36 tracks/ruby/bin/local-status-check
trackler-2.0.8.35 tracks/ruby/bin/local-status-check
trackler-2.0.8.34 tracks/ruby/bin/local-status-check
trackler-2.0.8.33 tracks/ruby/bin/local-status-check
trackler-2.0.8.32 tracks/ruby/bin/local-status-check
trackler-2.0.8.31 tracks/ruby/bin/local-status-check
trackler-2.0.8.30 tracks/ruby/bin/local-status-check
trackler-2.0.8.29 tracks/ruby/bin/local-status-check