Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(opts ...BuildFuncOpt) error
Build accept BuildFuncOpt and retuns an error if any of the BuilderFunc has failed otherwise nil is returned.
func GoBuildYourSelf ¶
GoBuildYourSelf checks buildFile modification time and decide whether to re-build and run the script or not.
Types ¶
type BuildFuncOpt ¶
type BuildFuncOpt struct { FuncName string Func BuilderFunc }
BuildFuncOpt build options.
type BuilderFunc ¶
type BuilderFunc func() error
BuilderFunc type that represents the build function that we pass into Build function.
type Sh ¶
type Sh struct {
// contains filtered or unexported fields
}
Sh structure that represents a shell that runs shell commands.
func (*Sh) Error ¶
Error returns any error that occurs during the process of running the command with Sh.
Click to show internal directories.
Click to hide internal directories.