1
0
mirror of https://github.com/go-task/task.git synced 2024-12-14 10:52:43 +02:00
task/internal/taskfile/task.go

25 lines
497 B
Go
Raw Normal View History

package taskfile
2019-02-24 10:24:57 +02:00
// Tasks represents a group of tasks
type Tasks map[string]*Task
// Task represents a task
type Task struct {
2019-05-17 22:13:47 +02:00
Task string
Cmds []*Cmd
Deps []*Dep
Desc string
Summary string
Sources []string
Generates []string
Status []string
Preconditions []*Precondition
2019-05-17 22:13:47 +02:00
Dir string
Vars Vars
Env Vars
Silent bool
Method string
Prefix string
IgnoreError bool `yaml:"ignore_error"`
}