.PHONY: run test test-license-client check build docker-build docker-build-bulk docker-build-all VERSION ?= 2.0.2 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 --build-arg VERSION=$(VERSION) -t ai-disclosure-standard:$(VERSION)-local . docker-build-bulk: docker build -f Dockerfile.bulk --build-arg VERSION=$(VERSION) -t ai-disclosure-standard-bulk:$(VERSION)-local . docker-build-all: docker-build docker-build-bulk