Sha256: d77a74101ab0a4274da76593e0508d4d663d421e69d29023ce6b7863a1cc72ce

Contents?: true

Size: 411 Bytes

Versions: 56

Compression:

Stored size: 411 Bytes

Contents

#!/usr/bin/env ruby

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

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

56 entries across 56 versions & 1 rubygems

Version Path
trackler-2.0.6.9 tracks/ruby/bin/local-status-check
trackler-2.0.6.8 tracks/ruby/bin/local-status-check
trackler-2.0.6.7 tracks/ruby/bin/local-status-check
trackler-2.0.6.6 tracks/ruby/bin/local-status-check
trackler-2.0.6.5 tracks/ruby/bin/local-status-check
trackler-2.0.6.4 tracks/ruby/bin/local-status-check
trackler-2.0.6.3 tracks/ruby/bin/local-status-check
trackler-2.0.6.2 tracks/ruby/bin/local-status-check
trackler-2.0.6.1 tracks/ruby/bin/local-status-check
trackler-2.0.6.0 tracks/ruby/bin/local-status-check
trackler-2.0.5.18 tracks/ruby/bin/local-status-check
trackler-2.0.5.17 tracks/ruby/bin/local-status-check
trackler-2.0.5.16 tracks/ruby/bin/local-status-check
trackler-2.0.5.15 tracks/ruby/bin/local-status-check
trackler-2.0.5.14 tracks/ruby/bin/local-status-check
trackler-2.0.5.13 tracks/ruby/bin/local-status-check
trackler-2.0.5.12 tracks/ruby/bin/local-status-check
trackler-2.0.5.11 tracks/ruby/bin/local-status-check
trackler-2.0.5.10 tracks/ruby/bin/local-status-check
trackler-2.0.5.9 tracks/ruby/bin/local-status-check