class Sam::Task
- Sam::Task
- Reference
- Object
Included Modules
Defined in:
sam/task.crConstructors
Instance Method Summary
-
#call(args : Args)
Launch current task.
- #description
- #find(path : String)
- #invoked? : Bool
- #name : String
- #path
- #reenable
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)
#
Instance Method Detail
Launch current task.
Prerequisites are invoked before target task.