diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-27 23:23:43 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-27 23:23:43 +0000 |
| commit | 7519de4e56323230d06cfc64b00df52339eb2434 (patch) | |
| tree | 87712be5ef45a6913601e729c18a67c20fee9f09 /modes/build.sh | |
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.
Diffstat (limited to 'modes/build.sh')
| -rwxr-xr-x | modes/build.sh | 29 |
1 files changed, 29 insertions, 0 deletions
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 |
