From 7de1557b2e5bc1ed86e19ffe080889ac74beea42 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 16 Apr 2014 18:56:02 -0600 Subject: [PATCH] Add "validate" Makefile target This was supposed to be part of my previous PR, but somehow got missed. Docker-DCO-1.1-Signed-off-by: Andrew Page (github: tianon) --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4186869ce274b..b29d21746e3da 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all binary build cross default docs docs-build docs-shell shell test test-integration test-integration-cli +.PHONY: all binary build cross default docs docs-build docs-shell shell test test-integration test-integration-cli validate # to allow `make BINDDIR=. shell` or `make BINDDIR= test` BINDDIR := bundles @@ -43,6 +43,9 @@ test-integration: build test-integration-cli: build $(DOCKER_RUN_DOCKER) hack/make.sh binary test-integration-cli +validate: build + $(DOCKER_RUN_DOCKER) hack/make.sh validate-gofmt validate-dco + shell: build $(DOCKER_RUN_DOCKER) bash