build

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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 All

func All() error

All compiles release binaries for all standard release OS/arch targets.

func Binary

func Binary(oper, arch string) error

Binary compiles a cargoship binary for the specified OS and architecture into build/.

func ExampleDefinitions

func ExampleDefinitions() ([]string, error)

ExampleDefinitions returns every directory under example/ holding a distro.yaml, sorted so a run covers the flavors in a stable order.

func Examples

func Examples() error

Examples builds a package from every example definition, with the cargoship on PATH.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL