mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
feat: add --failfast and failtest: true to control dependencies (#2525)
This commit is contained in:
@@ -15,6 +15,7 @@ type TaskRC struct {
|
||||
Concurrency *int `yaml:"concurrency"`
|
||||
Remote Remote `yaml:"remote"`
|
||||
Experiments map[string]int `yaml:"experiments"`
|
||||
Failfast bool `yaml:"failfast"`
|
||||
}
|
||||
|
||||
type Remote struct {
|
||||
@@ -53,4 +54,5 @@ func (t *TaskRC) Merge(other *TaskRC) {
|
||||
|
||||
t.Verbose = cmp.Or(other.Verbose, t.Verbose)
|
||||
t.Concurrency = cmp.Or(other.Concurrency, t.Concurrency)
|
||||
t.Failfast = cmp.Or(other.Failfast, t.Failfast)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user