summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattjmcnaughton <mattjmcnaughton@gmail.com>2019-02-06 15:08:34 -0500
committermattjmcnaughton <mattjmcnaughton@gmail.com>2019-02-06 15:08:34 -0500
commiteaba91741eda94426488a98c4a86752f4e6eac48 (patch)
treee3855da191300f4e177ad3d72b124005397e0dc6
parentcadd7bee53170d20b9db4a8a29192db0879fcd81 (diff)
Add `verify-dockerized` to Makefile
The `Makefile` has `generate-dockerized` and `test-dockerized`. For consistency, and also because its helpful for those who may not have their Go environment properly setup, add `verify-dockerized` to the Dockerfile. Its responsible for running `verify` in the docker container.
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1f390beb..3e86b5ec 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,9 @@ generate-dockerized:
verify:
@hack/verify.sh
+verify-dockerized:
+ docker run --rm -v $(shell pwd):/go/src/app:Z $(IMAGE_NAME) make -C /go/src/app verify
+
test:
go test -v ./generator/...