From 7519de4e56323230d06cfc64b00df52339eb2434 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Fri, 27 Mar 2026 23:23:43 +0000 Subject: Initial project setup Add modal-shell project with .agent/ config, mode stubs, ms dispatcher, bare repo at /site/git.terst.org/repos/modal-shell.git, and ADR-001. --- modes/build.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 modes/build.sh (limited to 'modes/build.sh') diff --git a/modes/build.sh b/modes/build.sh new file mode 100755 index 0000000..1b75a05 --- /dev/null +++ b/modes/build.sh @@ -0,0 +1,29 @@ +#!/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 -- cgit v1.2.3