Sha256: ecc2df60d8ab09a785389c8a54dd3853dd2d52adeb7931027dbd2d4e0384e43f

Contents?: true

Size: 407 Bytes

Versions: 9

Compression:

Stored size: 407 Bytes

Contents

#!/usr/bin/env ruby

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

commands_to_run = [
  'make test',
  'bundle exec rubocop -fs -D',
  'bin/executable-tests-check',
]
sucess = []
commands_to_run.each do |c|
  sucess << (system c)
end
unless sucess.all?
  p sucess
  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

9 entries across 9 versions & 1 rubygems

Version Path
trackler-1.0.4.0 tracks/ruby/bin/local-status-check
trackler-1.0.3.0 tracks/ruby/bin/local-status-check
trackler-1.0.2.1 tracks/ruby/bin/local-status-check
trackler-1.0.2.0 tracks/ruby/bin/local-status-check
trackler-1.0.1.2 tracks/ruby/bin/local-status-check
trackler-1.0.1.1 tracks/ruby/bin/local-status-check
trackler-1.0.1.0 tracks/ruby/bin/local-status-check
trackler-1.0.0.1 tracks/ruby/bin/local-status-check
trackler-1.0.0 tracks/ruby/bin/local-status-check