Files
query-orchestration/cmd/cognito_test/user.creation.tool/build.linux.sh
T
Jay Brown 4ad8168f35 Merged in feature/setup_docs (pull request #199)
docs for new env setup

* docs for new env setup

* lint fix

* docs
2026-01-07 19:35:53 +00:00

20 lines
478 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Build Linux AMD64 binary for AWS CloudShell
# Usage: ./build.linux.sh
#
# Output: dist/user.creation.tool
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
cd "$SCRIPT_DIR"
mkdir -p dist
echo "Building Linux AMD64 binary for AWS CloudShell..."
echo " GOOS=linux GOARCH=amd64 CGO_ENABLED=0"
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o dist/user.creation.tool .
echo "Built: dist/user.creation.tool"