diff --git a/Makefile b/Makefile index 6a71b71d..d428722f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ OS ?= linux ARCH ?= amd64 .PHONY: all -all: swagger binary binary-minimal binary-debug binary-arch binary-arch-minimal exporter-minimal test test-clean check +all: swagger binary binary-minimal binary-debug binary-arch binary-arch-minimal exporter-minimal verify-config test test-clean check .PHONY: binary-minimal binary-minimal: swagger @@ -99,6 +99,10 @@ clean: run: binary test ./bin/zot serve examples/config-test.json +.PHONY: verify-config +verify-config: binary + $(foreach file, $(wildcard examples/config-*), ./bin/zot verify $(file) || exit 1;) + .PHONY: binary-container binary-container: ${CONTAINER_RUNTIME} build ${BUILD_ARGS} -f Dockerfile -t zot-build:latest .