13
0
Fork 0
mirror of https://github.com/yannh/kubeconform.git synced 2026-07-02 17:39:30 +00:00
kubeconform/scripts/go/Makefile
2026-06-04 21:07:07 +02:00

18 lines
380 B
Makefile

#!/usr/bin/make -f
test: unit-test docker-acceptance
build:
go build -o openapi2jsonschema .
unit-test:
go test ./...
build-go-bats:
docker build -t go-bats -f Dockerfile.bats ..
docker-acceptance: build-go-bats
docker run --entrypoint "/usr/bin/bats" -t go-bats /code/go/acceptance.bats
clean:
rm -f openapi2jsonschema prometheus_v1.json prometheus-monitoring-v1.json