Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.56 KB

File metadata and controls

59 lines (45 loc) · 1.56 KB

Build

Toolchain versions are pinned in mise.toml. Build/test commands are wrapped in the root Makefile.

One-time setup

mise install            # installs every tool pinned in mise.toml
make ui-install         # console-ui npm deps

Coordinator (Go)

make coordinator-test         # cd coordinator && go test ./...
make coordinator-build        # cd coordinator && go build ./cmd/coordinator
make coordinator-build-linux  # GOOS=linux GOARCH=amd64 CGO_ENABLED=0
make coordinator              # test + build

Provider (Swift)

make provider-build           # cd provider-swift && swift build
make provider-test            # cd provider-swift && swift test
make provider                 # build + test

Console UI (Next.js 16)

make ui-install               # npm install
make ui-build                 # npm run build
make ui-lint                  # npx eslint src/
make ui-test                  # vitest (npm test)
make ui                       # install + lint + test + build

Aggregates

make test                     # all unit tests
make build                    # build all components
make all                      # test + build everything
make clean                    # remove built artifacts

Pre-commit formatting

git config core.hooksPath .githooks
Component Check Manual fix
Go (coordinator/) gofmt -l gofmt -w <file>
Swift (provider-swift/) swift test
TypeScript (console-ui/) npx eslint src/ npx eslint src/ --fix