class Sam::Task

Included Modules

Defined in:

sam/task.cr

Constructors

Instance Method Summary

Instance methods inherited from module Sam::Execution

execute(name, hash : Args::AllowedHash, arr : Array(Args::AllowedTypes))
execute(name, args : Args)
execute(name, hash : Args::AllowedHash)
execute(name, *args)
execute
, find(path : String) find, find!(path : String) find!, invoke(name, hash : Args::AllowedHash, arr : Array(Args::AllowedTypes))
invoke(name, args : Args)
invoke(name, hash : Args::AllowedHash)
invoke(name, *args)
invoke

Constructor Detail

def self.new(block : -> _ | Sam::Task -> _ | Sam::Task, Sam::Args -> _, deps : Array(String), parent : Sam::Namespace, name : String, description : Nil | String = nil) #

[View source]

Instance Method Detail

def call(args : Args) #

Launch current task.

Prerequisites are invoked before target task.


[View source]
def description #

[View source]
def find(path : String) #

[View source]
def invoked? : Bool #

[View source]
def name : String #

[View source]
def path #

[View source]
def reenable #

[View source]