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.1.0.12 tracks/ruby/bin/local-status-check
trackler-2.1.0.11 tracks/ruby/bin/local-status-check
trackler-2.1.0.10 tracks/ruby/bin/local-status-check
trackler-2.1.0.9 tracks/ruby/bin/local-status-check
trackler-2.1.0.8 tracks/ruby/bin/local-status-check
trackler-2.1.0.7 tracks/ruby/bin/local-status-check
trackler-2.1.0.6 tracks/ruby/bin/local-status-check
trackler-2.1.0.5 tracks/ruby/bin/local-status-check
trackler-2.1.0.4 tracks/ruby/bin/local-status-check
trackler-2.1.0.3 tracks/ruby/bin/local-status-check
trackler-2.1.0.2 tracks/ruby/bin/local-status-check
trackler-2.1.0.1 tracks/ruby/bin/local-status-check
trackler-2.1.0.0 tracks/ruby/bin/local-status-check
trackler-2.0.8.55 tracks/ruby/bin/local-status-check
trackler-2.0.8.54 tracks/ruby/bin/local-status-check
trackler-2.0.8.53 tracks/ruby/bin/local-status-check
trackler-2.0.8.52 tracks/ruby/bin/local-status-check
trackler-2.0.8.51 tracks/ruby/bin/local-status-check
trackler-2.0.8.50 tracks/ruby/bin/local-status-check
trackler-2.0.8.49 tracks/ruby/bin/local-status-check