Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RepoDir holds a repository path. RepoDir string // BuildDirPath holds a build dir path. BuildDirPath = []string{"build", "_output"} // MageTag holds default mage tag settings. MageTag = MageTagStruct{ Color: color.FgCyan, Label: "[MAGE]", } // Dependencies will hold additional dependencies that needs to be installed // before running tasks. Dependencies = []string{ "github.com/kyoh86/richgo", "github.com/mgechev/revive", "honnef.co/go/tools/cmd/staticcheck", } // VersionVariablePath a Golang path to version holding variable. VersionVariablePath string // Binaries a list of binaries to build. Binaries []Binary // CleaningTasks additional cleaning tasks. CleaningTasks []CustomTask // Checks holds a list of checks to perform. Checks []CustomTask )
Functions ¶
This section is empty.
Types ¶
type CustomTask ¶ added in v0.4.1
CustomTask is a custom function that will be used in the build.
type MageTagStruct ¶
MageTagStruct holds a mage tag.
Click to show internal directories.
Click to hide internal directories.