mirror of
https://github.com/hanzoai/base.git
synced 2026-10-21 03:41:50 +00:00
- resolveIAMToken: fallback sub → preferred_username → name (Casdoor compat) - extractOrgID: X-Org-Id (was X-IAM-Org-Id) - platformIdentityHeaders: remove X-Hanzo-* legacy headers - Only X-User-Id, X-Org-Id, X-User-Email — no vendor prefix
19 lines
335 B
Makefile
19 lines
335 B
Makefile
ui:
|
|
cd ui && pnpm install && pnpm build
|
|
|
|
build: ui
|
|
go build -o base ./examples/base/main.go
|
|
|
|
lint:
|
|
golangci-lint run -c ./golangci.yml ./...
|
|
|
|
test:
|
|
go test ./... -v --cover
|
|
|
|
jstypes:
|
|
go run ./plugins/jsvm/internal/types/types.go
|
|
|
|
test-report:
|
|
go test ./... -v --cover -coverprofile=coverage.out
|
|
go tool cover -html=coverage.out
|