.PHONY: run run-bulk test test-license-client check build build-bulk docker-build docker-build-bulk run: go run ./cmd/server run-bulk: go run ./cmd/bulk 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 bulkweb 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 build-bulk: mkdir -p bin CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o bin/ai-disclosure-bulk ./cmd/bulk docker-build: docker build -t ai-disclosure-standard:1.8.2-local . docker-build-bulk: docker build -f Dockerfile.bulk -t ai-disclosure-bulk:1.0.0-local .