class
Hace::CommandTask
- Hace::CommandTask
- Reference
- Object
Overview
A task that runs a shell command
Included Modules
- YAML::Serializable
- YAML::Serializable::Strict
Defined in:
hace.crConstructors
Instance Method Summary
- #always_run? : Bool
-
#commands : String
Read-only accessors so callers don't have to reach into instance vars.
- #cwd : String | Nil
- #default? : Bool
- #dependencies : Array(String)
- #description : String | Nil
-
#expand
We want to support variables and environment variables also in things like dependencies, outputs, etc.
-
#gen_task(name, hacefile : HaceFile, dry_run : Bool = false)
ameba:disable Metrics/CyclomaticComplexity
- #outputs : Array(String)
- #phony? : Bool
- #shell : String | Nil
- #to_hash
Constructor Detail
Instance Method Detail
def expand
#
We want to support variables and environment variables also in things like dependencies, outputs, etc. so we need to do some post-processing
Besides the global VARIABLES, they also have access to self
ameba:disable Metrics/CyclomaticComplexity