Browse code

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 <admwiggin@gmail.com> (github: tianon)

Tianon Gravi authored on 2014/04/17 09:56:02
Showing 1 changed files
... ...
@@ -1,4 +1,4 @@
1
-.PHONY: all binary build cross default docs docs-build docs-shell shell test test-integration test-integration-cli
1
+.PHONY: all binary build cross default docs docs-build docs-shell shell test test-integration test-integration-cli validate
2 2
 
3 3
 # to allow `make BINDDIR=. shell` or `make BINDDIR= test`
4 4
 BINDDIR := bundles
... ...
@@ -43,6 +43,9 @@ test-integration: build
43 43
 test-integration-cli: build
44 44
 	$(DOCKER_RUN_DOCKER) hack/make.sh binary test-integration-cli
45 45
 
46
+validate: build
47
+	$(DOCKER_RUN_DOCKER) hack/make.sh validate-gofmt validate-dco
48
+
46 49
 shell: build
47 50
 	$(DOCKER_RUN_DOCKER) bash
48 51