class Barista::Behaviors::Software::Commands::Patch

Defined in:

barista/behaviors/software/commands/patch.cr

Constructors

Instance Method Summary

Instance methods inherited from class Barista::Behaviors::Software::Commands::Base

description : String description, execute execute

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(patch_file : String, *, target : String | Nil = nil, plevel : Int32 = 1, chdir : String | Nil = nil, env : Hash(String, String) | Nil = nil, string : Bool = false) #

[View source]

Instance Method Detail

def chdir : String? #

[View source]
def description : String #
Description copied from class Barista::Behaviors::Software::Commands::Base

A unique string representing this command

used to calculate the shasum for the builder


[View source]
def env : Hash(String, String)? #

[View source]
def execute #
Description copied from class Barista::Behaviors::Software::Commands::Base

executes the command

takes the name of the task, a BuildMeta for logging, and an optional file handle for logging.


[View source]
def patch_file : String #

[View source]
def plevel : Int32 #

[View source]
def string : Bool #

[View source]