# README
mage
Mage Targets
Example
Check the magefiles/ folder for an example.
Usage
mkdir magefiles
PKG="$(go list -m)"
( cd magefiles; go mod init "${PKG}/magefiles" )
go work init
go work use . ./magefiles
Then create a magefiles/magefile.go
like the example magefile.go.
# Functions
Clean remove generated files.
CleanLight avoids removing `artifacts/data` but flushes golangci-lint cache.
Config checks all configuration.
InstallE installs with release tags and the supplied arguments the command specified by INSTALL_CMD or the first found command if the environment is not specified.
ModTidy run go mod tidy on all workspaces.
RunE builds with debug tags and the supplied arguments the command specified by RUN_CMD or the first found command if the environment is not specified.
Test runs all tests depending on presence of files (go.mod=golang:test, etc).
No description provided by the author
# Type aliases
Build namespace is defined to group Build functions.
CFSSL namespace is defined to group CFSSL functions.
Docker namespace is defined to group Docker functions.
Golang namespace is defined to group Golang functions.
Goreleaser namespace is defined to group Goreleaser functions.
Install namespace is defined to group Install functions.
Kubebuilder namespace is defined to group Kubebuilder functions.
Lint namespace is defined to group Lint functions.
Mirrord namespace is defined to group Mirrord functions.
Protobuf namespace is defined to group Protocol buffer functions.
Run namespace is defined to group Run functions.
Update namespace is defined to group Update functions.
Wire namespace is defined to group Wire functions.