From 73234832b6d2462f90b77ea6c645bbcba56cd3f2 Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Thu, 6 Jun 2019 01:44:17 -0700 Subject: [PATCH] api: vendor deps before tests --- api/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/api/Makefile b/api/Makefile index 04d7acb..bb0052d 100644 --- a/api/Makefile +++ b/api/Makefile @@ -33,6 +33,7 @@ prod-go: GO111MODULE=on go build -mod=vendor -v -o $(GO_PROD_BUILD_BINARY) test-go: + GO111MODULE=on go mod vendor go test -v . $(shell mkdir -p $(GO_DEVEL_BUILD_DIR) $(GO_PROD_BUILD_DIR))