Skip to content

Latest commit

 

History

History
110 lines (69 loc) · 1.23 KB

File metadata and controls

110 lines (69 loc) · 1.23 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"

ports

Target Go ports.

Example:

ports:
- "darwin/amd64"
- "darwin/arm64"
- "linux/amd64"
- "linux/arm64"
- "linux/riscv64"
- "windows/amd64"
- "windows/arm64"
# ...

To enumerate available ports, run go tool dist list.

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"