References
References allow the usage of other tasks defined in other build files. They can be used to split up different tasks into separate files.
Each build file can have a reference map. The reference points to other build file containing more tasks. References can be used directly from the cli or in task dependencies.
references:
foo: project/foo
tasks:
example:
cmds:
- echo "foo bar"
The task name example
in the referenced build file will be prepended with the reference name foo
and can be used as foo:example
hammerkit foo:example
Last updated
Was this helpful?