- Remove shell command and agentshell staged changes - Update README and core domain rules - Update config and build scripts - Archive m-agent-shell-package-iop-backend-boundary task
13 lines
369 B
Bash
Executable file
13 lines
369 B
Bash
Executable file
#!/usr/bin/env sh
|
|
set -eu
|
|
|
|
ROOT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
|
|
OUT_DIR="$ROOT_DIR/bin"
|
|
|
|
if command -v go >/dev/null 2>&1; then
|
|
(cd "$ROOT_DIR/services/core" && go build -o "$OUT_DIR/gito-server" ./cmd/server)
|
|
(cd "$ROOT_DIR/services/core" && go build -o "$OUT_DIR/gito-worker" ./cmd/worker)
|
|
else
|
|
echo "skip services/core: go not found"
|
|
fi
|
|
|