1
0
mirror of https://github.com/go-task/task.git synced 2025-11-06 09:09:13 +02:00

Move all structs related to Taskfile to its own package

This commit is contained in:
Andrey Nering
2018-02-17 14:22:18 -02:00
parent 3212ae4713
commit 152fc0ad38
16 changed files with 223 additions and 203 deletions

20
internal/taskfile/task.go Normal file
View File

@@ -0,0 +1,20 @@
package taskfile
// Tasks representas a group of tasks
type Tasks map[string]*Task
// Task represents a task
type Task struct {
Task string
Cmds []*Cmd
Deps []*Dep
Desc string
Sources []string
Generates []string
Status []string
Dir string
Vars Vars
Env Vars
Silent bool
Method string
}