Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is responsible for running Tasks.
func NewRunner ¶
NewRunner takes Tasks and returns a Runner. If the OS is windows commands will be run using `cmd \C` and separated by `&&`. Otherwise, commands will be run using `bash -c` and separated by `;`.
NewRunner will return an error in the case that Dependent tasks are cyclical, invalid or at a larger depth than 50.
Click to show internal directories.
Click to hide internal directories.