module Barista::Behaviors::Brew::Task

Included Modules

Defined in:

barista/behaviors/brew/task.cr

Constructors

Instance Method Summary

Macros inherited from module Barista::Behaviors::Macros

gen_class_method(name, type, &block) gen_class_method, gen_collection_method(name, var_name, type) gen_collection_method, gen_method(name, type, &block) gen_method

Instance methods inherited from module Barista::Behaviors::Software::FileMacros

file(key : String) file

Macros inherited from module Barista::Behaviors::Software::FileMacros

file(key, path) file

Instance methods inherited from module Barista::Behaviors::Software::Emittable

collect_error(arr : Array(String)) collect_error, collect_output(arr : Array(String)) collect_output, forward_error(&block : String -> ) forward_error, forward_output(&block : String -> ) forward_output, on_error
on_error(&block : String -> Nil)
on_error
, on_output
on_output(&block : String -> Nil)
on_output

Constructor Detail

def self.new(project : Barista::Behaviors::Brew::Project, action : String) #

[View source]

Instance Method Detail

def action #

[View source]
def execute : Nil #

[View source]
def log_location : String | Nil #

[View source]
def on_action_failed(*args, **options) #

[View source]
def on_action_failed(*args, **options, &) #

[View source]
def on_action_finished(*args, **options) #

[View source]
def on_action_finished(*args, **options, &) #

[View source]
def on_action_skipped(*args, **options) #

[View source]
def on_action_skipped(*args, **options, &) #

[View source]
def on_action_start(*args, **options) #

[View source]
def on_action_start(*args, **options, &) #

[View source]
def on_action_succeed(*args, **options) #

[View source]
def on_action_succeed(*args, **options, &) #

[View source]
def pgid : Int64 | Nil #

[View source]
def pid : Int64 | Nil #

[View source]
def pid_info #

[View source]
def pid_location #

[View source]
def process_exists? #

[View source]
def project #

[View source]
def run(action : Action.class) #

[View source]
def run(action : String) #

[View source]
def run(runnable : Action) #

[View source]
def runnable? #

[View source]
def wait_for(duration : Int32 = 5, *, interval : Float64 = 0.5, &block : -> Bool) #

[View source]