mirror of
https://github.com/go-task/task.git
synced 2024-12-14 10:52:43 +02:00
24 lines
451 B
Go
24 lines
451 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
|
|
Details string
|
|
Sources []string
|
|
Generates []string
|
|
Status []string
|
|
Dir string
|
|
Vars Vars
|
|
Env Vars
|
|
Silent bool
|
|
Method string
|
|
Prefix string
|
|
IgnoreError bool `yaml:"ignore_error"`
|
|
}
|