cmd/run.rb in bahuvrihi-tap-0.10.3 vs cmd/run.rb in bahuvrihi-tap-0.10.4

- old
+ new

@@ -45,13 +45,12 @@ end.parse!(ARGV) # # handle options for each specified task # -require 'tap/support/parsers/command_line' -queues = Tap::Support::Parsers::CommandLine.new(ARGV).build(env, app) +queues = env.build(ARGV) ARGV.clear if queues.empty? puts "no task specified" exit @@ -98,9 +97,7 @@ # # enque tasks and run! # -queues.each_with_index do |queue, i| - app.queue.concat(queue) - app.run -end +env.run(queues) +