api: vendor deps before tests

This commit is contained in:
Adhityaa Chandrasekar 2019-06-06 01:44:17 -07:00
parent 85456a019e
commit 73234832b6

View File

@ -33,6 +33,7 @@ prod-go:
GO111MODULE=on go build -mod=vendor -v -o $(GO_PROD_BUILD_BINARY) GO111MODULE=on go build -mod=vendor -v -o $(GO_PROD_BUILD_BINARY)
test-go: test-go:
GO111MODULE=on go mod vendor
go test -v . go test -v .
$(shell mkdir -p $(GO_DEVEL_BUILD_DIR) $(GO_PROD_BUILD_DIR)) $(shell mkdir -p $(GO_DEVEL_BUILD_DIR) $(GO_PROD_BUILD_DIR))