Skip to content

Default Task

Roman edited this page Aug 18, 2023 · 1 revision

If gotaskr is called without arguments, it will by default print out all available tasks, their description and arguments. If instead of this, it should call a default task, just define a task with the name default or Default and this task will be called instead.

Typically, this task will just call one or more other tasks.

Example:

gotaskr.Task("default", goext.Noop).Then("build")
Clone this wiki locally