Sha256: 19c51d0e070816269d49a885b4dbf5002e1bd88d5d8acf6ee450a75932637e3f
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 Bytes
Contents
require "scripted/output/logger" require "scripted/running/select_commands" require "scripted/running/run_commands" module Scripted class Runner def self.start!(configuration, *group_names) Output::Logger.new(configuration) do |logger| select_commands = Running::SelectCommands.new(configuration, logger) commands = select_commands.commands(group_names) run_commands = Running::RunCommands.new(logger) run_commands.run(commands) raise RunningFailed, "One or more commands have failed" if run_commands.failed? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scripted-0.0.1 | lib/scripted/runner.rb |