Fix CLAUDE.md: correct binary names and build targets #2

Merged
kyle merged 1 commits from fix/claude-md-factual-errors into master 2026-04-02 22:20:23 +00:00
Showing only changes of commit cf8011196f - Show all commits

View File

@@ -12,7 +12,9 @@ MCR (Metacircular Container Registry) is a container registry service integrated
```bash
make all # vet → lint → test → build
make mcr # build binary with version injection
make mcrsrv # build API server binary with version injection
make mcr-web # build web UI binary with version injection
make mcrctl # build admin CLI binary
make build # compile all packages
make test # run all tests
make vet # go vet
@@ -53,8 +55,9 @@ go test ./internal/server -run TestPushManifest
## Package Structure
- `cmd/mcr/`CLI entry point (cobra subcommands: server, init, status, snapshot)
- `cmd/mcrsrv/`API server entry point (cobra subcommands: server, init, status, snapshot)
- `cmd/mcr-web/` — Web UI entry point
- `cmd/mcrctl/` — Admin CLI entry point
- `internal/auth/` — MCIAS integration (token validation, 30s cache by SHA-256)
- `internal/config/` — TOML config loading and validation
- `internal/db/` — SQLite setup, migrations (idempotent, tracked in `schema_migrations`)