Sha256: cbd7c4682dec37af71ef3fe3fe378bcdef7ef7de06948d07d9d951f6c1090b8b

Contents?: true

Size: 390 Bytes

Versions: 188

Compression:

Stored size: 390 Bytes

Contents

#!/usr/bin/env ruby

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

commands_to_run = [
  'bundle exec rake test',
  'bundle exec rubocop -fs -D'
]
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

188 entries across 188 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/ruby/bin/local-status-check
trackler-2.2.1.179 tracks/ruby/bin/local-status-check
trackler-2.2.1.178 tracks/ruby/bin/local-status-check
trackler-2.2.1.177 tracks/ruby/bin/local-status-check
trackler-2.2.1.176 tracks/ruby/bin/local-status-check
trackler-2.2.1.175 tracks/ruby/bin/local-status-check
trackler-2.2.1.174 tracks/ruby/bin/local-status-check
trackler-2.2.1.173 tracks/ruby/bin/local-status-check
trackler-2.2.1.172 tracks/ruby/bin/local-status-check
trackler-2.2.1.171 tracks/ruby/bin/local-status-check
trackler-2.2.1.170 tracks/ruby/bin/local-status-check
trackler-2.2.1.169 tracks/ruby/bin/local-status-check
trackler-2.2.1.167 tracks/ruby/bin/local-status-check
trackler-2.2.1.166 tracks/ruby/bin/local-status-check
trackler-2.2.1.165 tracks/ruby/bin/local-status-check
trackler-2.2.1.164 tracks/ruby/bin/local-status-check
trackler-2.2.1.163 tracks/ruby/bin/local-status-check
trackler-2.2.1.162 tracks/ruby/bin/local-status-check
trackler-2.2.1.161 tracks/ruby/bin/local-status-check
trackler-2.2.1.160 tracks/ruby/bin/local-status-check