git-subtree-dir: services/core git-subtree-mainline:6f5e3a119fgit-subtree-split:6fdbc73753
10 lines
230 B
Bash
Executable file
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
|