bascule-oss/Makefile
Tyler King 2fa92f8635 docs: comprehensive documentation + developer experience polish
New files:
  CONTRIBUTING.md — dev setup, code style, PR process
  CLAUDE.md — workspace context for Claude Code
  Makefile — build, test, lint, fmt, docker, helm-lint, dev, ci
  .editorconfig — consistent formatting
  rustfmt.toml — Rust formatting config
  docs/kubernetes.md — Helm install, values, architecture
  docs/bascule-shell.md — client shell install, config, TPM
  charts/bascule/README.md — Helm quick start

Updated:
  README.md — accurate feature matrix, clear shipped vs planned
  config/bascule.example.toml — full reference (72 lines, all fields)

All 15 README links verified valid.
Helm lint clean. Build passes. 0 substrate deps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 10:53:08 -04:00

40 lines
828 B
Makefile

.PHONY: build build-full test lint fmt fmt-check clean docker docker-images helm-lint dev ci
build:
cargo build --release --all
build-full:
cargo build --release -p bascule-server --features agent-id
test:
cargo test --all
lint:
cargo clippy --all-targets -- -D warnings
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all --check
clean:
cargo clean
docker:
docker build -t bascule:latest .
docker-images:
docker build -t bascule-shell:minimal images/minimal/
docker build -t bascule-shell:k8s-ops images/k8s-ops/
docker build -t bascule-shell:net-ops images/net-ops/
docker build -t bascule-shell:dev images/dev/
helm-lint:
helm lint charts/bascule/
dev:
RUST_LOG=debug cargo run -p bascule-server -- --config config/bascule.example.toml
ci: fmt-check lint build test helm-lint
@echo "All checks passed"