Fix CLAUDE.md: correct binary names and build targets #2
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user