module Zap::Utils::Scripts
Defined in:
utils/scripts/printer.crutils/scripts/scripts.cr
Constant Summary
-
Log =
Zap::Log.for(self)
Class Method Summary
- .parallel_run(*, config : Config, scripts : Array(ScriptData), reporter : Reporter = Reporter::Interactive.new, pipeline : Pipeline = Pipeline.new, print_header : Bool = true)
- .run_script(command : String, chdir : Path | String, config : Config, raise_on_error_code = true, output_io = nil, stdin = Process::Redirect::Close, **args, &block : String, Symbol -> )
- .topological_run(*, config : Config, scripts : Array(ScriptData), relationships : Hash(Workspaces::Workspace, Workspaces::Relationships), reporter : Reporter = Reporter::Interactive.new, pipeline : Pipeline = Pipeline.new, print_header : Bool = true)
Class Method Detail
def self.parallel_run(*, config : Config, scripts : Array(ScriptData), reporter : Reporter = Reporter::Interactive.new, pipeline : Pipeline = Pipeline.new, print_header : Bool = true)
#
def self.run_script(command : String, chdir : Path | String, config : Config, raise_on_error_code = true, output_io = nil, stdin = Process::Redirect::Close, **args, &block : String, Symbol -> )
#
def self.topological_run(*, config : Config, scripts : Array(ScriptData), relationships : Hash(Workspaces::Workspace, Workspaces::Relationships), reporter : Reporter = Reporter::Interactive.new, pipeline : Pipeline = Pipeline.new, print_header : Bool = true)
#