Module: Buratino::Runner
- Defined in:
- lib/buratino.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/buratino.rb', line 10 def self.run puts "DEBUG BURATINO::RUNNER::RUN" @config = Buratino::Configure.new.parse while true do puts "DEBUG BURATINO::RUNNER::RUN::NEW_ITERATION" Buratino::Dirs.check(@config) Buratino::Hg.process(@config) Buratino::Dirs.reports(@config) puts "DEBUG BURATINO::RUNNER::RUN::END_ITERATION" break if @config['angel'] sleep @config['interval'] end end |