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.7 tracks/ruby/bin/local-status-check
trackler-2.0.8.6 tracks/ruby/bin/local-status-check
trackler-2.0.8.5 tracks/ruby/bin/local-status-check
trackler-2.0.8.4 tracks/ruby/bin/local-status-check
trackler-2.0.8.3 tracks/ruby/bin/local-status-check
trackler-2.0.8.2 tracks/ruby/bin/local-status-check
trackler-2.0.8.1 tracks/ruby/bin/local-status-check
trackler-2.0.7.0 tracks/ruby/bin/local-status-check
trackler-2.0.6.44 tracks/ruby/bin/local-status-check
trackler-2.0.6.43 tracks/ruby/bin/local-status-check
trackler-2.0.6.42 tracks/ruby/bin/local-status-check
trackler-2.0.6.41 tracks/ruby/bin/local-status-check
trackler-2.0.6.40 tracks/ruby/bin/local-status-check
trackler-2.0.6.39 tracks/ruby/bin/local-status-check
trackler-2.0.6.38 tracks/ruby/bin/local-status-check
trackler-2.0.6.37 tracks/ruby/bin/local-status-check
trackler-2.0.6.36 tracks/ruby/bin/local-status-check
trackler-2.0.6.35 tracks/ruby/bin/local-status-check
trackler-2.0.6.34 tracks/ruby/bin/local-status-check
trackler-2.0.6.33 tracks/ruby/bin/local-status-check