Skip to content

Latest commit

 

History

History
146 lines (99 loc) · 1.52 KB

File metadata and controls

146 lines (99 loc) · 1.52 KB

CONFIGURATION GUIDE

FLAGS

-clean

Remove artifacts.

-help

Show usage menu.

-version

Show version identifier.

YAML

tuco looks for a configuration file tuco.yaml in the current working directory.

debug

Default: false

When true, enables additional logs.

Example:

debug: true

artifacts

Default: "bin"

Customize the toplevel directory for binary artifacts.

Example:

artifacts: "dist"

banner

Required, nonblank.

Software application name.

Example:

banner = "hello"

Go Ports

Target Go ports.

To enumerate available ports, run go tool dist list.

os

Enable GOOS values.

Example:

# Skip mobile SDKs
os:
- "aix"
# - "android"
- "darwin"
- "dragonfly"
- "freebsd"
- "illumos"
# - "ios"
- "js"
- "linux"
- "netbsd"
- "openbsd"
- "plan9"
- "solaris"
- "wasip1"
- "windows"

arch

Enable GOARCH values.

Example:

arch:
- "386"
- "amd64"
- "arm"
- "arm64"
- "loong64"
- "mips"
- "mips64"
- "mips64le"
- "mipsle"
- "ppc64"
- "ppc64le"
- "riscv64"
- "s390x"
- "wasm"

excludes

Default:

- ".DS_Store" # Finder
- "Thumbs.db" # Explorer

Skips corresponding file path patterns.

Syntax: Glob

Example:

excludes:
- ".DS_Store"  # Finder
- ".directory" # Dolpin
- "Thumbs.db"  # Explorer

go_args

Default: (empty)

Supply additional CLI arguments to go build... commands.

Example:

go_args:
- "-v"