#!/usr/bin/env bash # build — run the project build pipeline set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # shellcheck source=base.sh source "$SCRIPT_DIR/base.sh" cd "$PROJECT_ROOT" # ── TODO: uncomment and configure for your build tool ──────────────────────── # just # exec just build # make # exec make build # go # exec go build ./... # npm / yarn / pnpm # exec npm run build # cargo # exec cargo build --release echo "error: no build command configured in modes/build.sh" >&2 exit 1