Documentation
¶
Index ¶
- Variables
- func Execute(command string) *gocmd.Cmd
- func ExecuteAll(commands ...string)
- func ExecuteCommand(outputChan chan string, execute func() (string, error)) func()
- func ExecuteInDir(dir, name string, args ...string) *gocmd.Cmd
- func ExecuteInProjectRoot(command string) *gocmd.Cmd
- func GetProjectDir() string
- func StubShellCommands()
- func WaitForSuccess(cmds ...*gocmd.Cmd)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MvnBin string TpSleepBin string TpVersionBin string JavaBin string )
Functions ¶
func ExecuteAll ¶
func ExecuteAll(commands ...string)
ExecuteAll executes all passed commands in sequence, waiting for every single one to finish. before starting next one.
func ExecuteCommand ¶
func ExecuteInDir ¶
ExecuteInDir executes given command in the defined directory Redirects streams to stdout/err.
func ExecuteInProjectRoot ¶ added in v0.0.9
ExecuteInProjectRoot runs given command in project root folder (e.g. handy for make).
func GetProjectDir ¶
func GetProjectDir() string
func StubShellCommands ¶
func StubShellCommands()
func WaitForSuccess ¶ added in v0.2.0
WaitForSuccess checks if cmds ended just fine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.