nomadcode/services/core/bin/build
toki 11490df648 chore: import nomadcode-core into services/core
git-subtree-dir: services/core
git-subtree-mainline: 6f5e3a119f
git-subtree-split: 6fdbc73753
2026-05-21 13:35:20 +09:00

10 lines
230 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT_DIR"
OUTPUT="${OUTPUT:-.build/nomadcode-core}"
mkdir -p "$(dirname "$OUTPUT")"
exec go build -o "$OUTPUT" ./cmd/server