Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureTool ¶ added in v1.5.1
EnsureTool ensures that tool exists, if not it is installed
func InstallTools ¶ added in v1.5.1
InstallTools installs tools
func Main ¶ added in v1.7.14
func Main(name string)
Main receives configuration and runs registeredCommands
func RegisterCommands ¶ added in v1.16.0
RegisterCommands registers registeredCommands.
Types ¶
type Command ¶ added in v1.8.0
type Command struct { Description string Fn CommandFunc }
type DepsFunc ¶
type DepsFunc func(deps ...CommandFunc)
DepsFunc represents function for executing dependencies
type Tool ¶ added in v1.5.1
type Tool struct { // Name is the name of the tool Name string // Version is the version of the tool Version string // IsGlobal instructs us to install the tool in global bin folder IsGlobal bool // URL is the url to the archive containing the tool URL string // Hash is the hash of the downloaded file Hash string // Binaries is the list of relative paths to binaries to install in local bin folder Binaries map[string]string }
Tool represents the tool to be required by the build system
Click to show internal directories.
Click to hide internal directories.