Documentation
¶
Overview ¶
Package build handles compiling cargoship binaries with appropriate compiler and linker flags.
Index ¶
Constants ¶
View Source
const (
BuildDir = "build"
)
BuildDir is where compiled binaries and other build artifacts are written.
Variables ¶
This section is empty.
Functions ¶
func Binary ¶
Binary compiles a cargoship binary for the specified OS and architecture into build/.
The source is ./cmd/cargoship rather than the root ./main.go: the root entry point is for `go run .` during development and leaves out the Ansible module dispatch. See main.go.
func ExampleDefinitions ¶
ExampleDefinitions returns every directory under example/ holding a distro.yaml, sorted so a run covers the flavors in a stable order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.