Documentation
¶
Index ¶
- Constants
- func Go()
- func PrintTasks()
- func RunTask(taskName string) (errChan chan steps.Result)
- func Task(name string) *task.Task
- type Context
- func (c *Context) AddEnv(args ...string)
- func (c *Context) AddProcessKillChannel(r chan steps.Result)
- func (c *Context) GetEnv() []string
- func (c *Context) GetProcessKillChannels() []chan steps.Result
- func (c *Context) RemoveProcessKillChannel(r chan steps.Result)
- func (c *Context) RunTask(n string) chan steps.Result
- func (c *Context) SetWorkingDirectory(wd string)
- func (c *Context) UpdateWorkingDirectory(wd string)
- func (c *Context) WorkingDirectory() string
Constants ¶
View Source
const ( SigQuit = syscall.SIGQUIT SigInterrupt = syscall.SIGINT )
Our various Signals
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context provides a task-specific set of properties.
func (*Context) AddProcessKillChannel ¶
AddProcessKillChannel adds a provided channel to be sent a killed signal.
func (*Context) GetProcessKillChannels ¶
GetProcessKillChannels returns the underlying process kill channels slice.
func (*Context) RemoveProcessKillChannel ¶
RemoveProcessKillChannel removes a provided channel from the process kill slice.
func (*Context) SetWorkingDirectory ¶ added in v0.2.0
SetWorkingDirectory sets the context's working directory, including settings its original working directory.
func (*Context) UpdateWorkingDirectory ¶ added in v0.2.0
UpdateWorkingDirectory updates the context's working directory.
func (*Context) WorkingDirectory ¶ added in v0.2.0
WorkingDirectory returns the context's working directory.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gobl
command
The gobl command simply calls "go run gobl.go ..." in the working directory.
|
The gobl command simply calls "go run gobl.go ..." in the working directory. |
|
init
command
init initializes an existing or empty directory as a gobl project
|
init initializes an existing or empty directory as a gobl project |
|
internal
|
|
|
test
command
|
|
|
pkg
|
|
Click to show internal directories.
Click to hide internal directories.