mirror of
https://github.com/go-task/task.git
synced 2024-12-14 10:52:43 +02:00
659cae6a4c
Co-Authored-By: Andrey Nering <andrey.nering@gmail.com>
25 lines
497 B
Go
25 lines
497 B
Go
package taskfile
|
|
|
|
// Tasks represents a group of tasks
|
|
type Tasks map[string]*Task
|
|
|
|
// Task represents a task
|
|
type Task struct {
|
|
Task string
|
|
Cmds []*Cmd
|
|
Deps []*Dep
|
|
Desc string
|
|
Summary string
|
|
Sources []string
|
|
Generates []string
|
|
Status []string
|
|
Preconditions []*Precondition
|
|
Dir string
|
|
Vars Vars
|
|
Env Vars
|
|
Silent bool
|
|
Method string
|
|
Prefix string
|
|
IgnoreError bool `yaml:"ignore_error"`
|
|
}
|