Files
jbergner 133fb10a93
All checks were successful
release-tag / release-image (push) Successful in 1m47s
RC-5 Versiopn: 1.6.3
2026-07-22 05:58:38 +02:00

25 lines
638 B
Makefile

.PHONY: run test test-license-client check build docker-build
run:
go run ./cmd/server
test:
go test ./...
cd third_party/license-platform-client && go test ./...
test-license-client:
cd third_party/license-platform-client && go test ./...
check:
gofmt -w $$(find cmd internal web third_party/license-platform-client -name '*.go' -type f)
go vet ./...
go test -race ./...
cd third_party/license-platform-client && go vet ./... && go test -race ./...
build:
mkdir -p bin
CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o bin/ai-disclosure ./cmd/server
docker-build:
docker build -t ai-disclosure-standard:1.6.3-local .