Documentation ¶
Index ¶
- Variables
- func Sort(taskNames []Name)
- type Builtin
- type Meta
- type Name
- type Script
- type Table
- func (tt Table) AddDoc(taskName Name, s string)
- func (tt Table) AddTask(name Name, task Task)
- func (tt Table) ForEach(f func(taskName Name, task Task, meta Meta) error) error
- func (tt Table) ForEachSorted(f func(taskName Name, task Task, meta Meta) error) error
- func (tt Table) ImportTasks(alias types.Alias, other Table)
- func (tt Table) LookupTask(name Name) (Task, bool)
- type Task
- type TaskNames
- Bugs
Constants ¶
This section is empty.
Variables ¶
View Source
var OyaCmdOverride *string
OyaCmdOverride is used in tests, to override the path to the current oya executable. It is used to invoke other tasks from a task body. When tests are run, the current process executable path points to the test runner so it has to be overridden (with 'go run oya.go', roughly speaking).
Functions ¶
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (Table) ForEachSorted ¶
Notes ¶
Bugs ¶
Add line error.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.