Add build-cli recipe for local binary compilation

This commit is contained in:
Jared Miller 2026-01-28 17:08:10 -05:00
parent 2343ed0449
commit e1c45d6d9f
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

View file

@ -13,6 +13,12 @@ start:
check: check:
bun run lint && bun run typecheck && bun run test bun run lint && bun run typecheck && bun run test
# Build CLI binary (smallest possible)
build-cli:
mkdir -p dist/bin
bun build --compile --minify --sourcemap=none src/cli.ts --outfile dist/bin/claude-remote
# Docker build
build: build:
docker build -t claude-remote . docker build -t claude-remote .