Documentation
¶
Overview ¶
Command install fat-bundles both SPAs agent-pro embeds, then installs the agent-pro binary. Destination is LookPath or ~/.local/bin (see gotool/localbin/install). Honor INSTALL_TO_DIR to stage a copy, and INSTALL_GOOS / INSTALL_GOARCH (else GOOS / GOARCH) for the product build so `go run` of this script can stay host-native while cross-compiling.
Usage:
go run ./script/agent-pro/install INSTALL_TO_DIR=/tmp/out INSTALL_GOOS=linux INSTALL_GOARCH=amd64 go run ./script/agent-pro/install
Click to show internal directories.
Click to hide internal directories.