Files
ai-disclosure-standard/Makefile
T
groot 4439684e41
release-tag / release-image (push) Successful in 1m35s
Update 1.8.1 Anpassung der Barrierefreiheit
2026-07-23 06:18:10 +02:00

35 lines
918 B
Makefile

.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.1-local .
docker-build-bulk:
docker build -f Dockerfile.bulk -t ai-disclosure-bulk:1.0.0-local .