Method: CommitMeat.run
- Defined in:
- lib/commit-meat.rb
.run ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/commit-meat.rb', line 10 def self.run tester = Tester.new() tester.test if tester.has_failures? || tester.has_warnings? puts "There's NO MEAT - did not commit.".magenta.bold tester..each { || puts .yellow } tester..each { || puts .red } end stop_commit if tester.has_failures? end |