Class: Egads::Check
- Includes:
- LocalHelpers, Thor::Actions
- Defined in:
- lib/egads/command/check.rb
Instance Method Summary collapse
Methods included from LocalHelpers
Methods inherited from Group
Instance Method Details
#check ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/egads/command/check.rb', line 10 def check say_status :rev, "#{rev} parsed to #{sha}" wait_for_build if [:wait] if tarball.exists? say_status :exists, "Tarball for #{sha} exists" exit 0 else say_status :missing, "Tarball for #{sha} does not exist", :red exit 1 end end |