Use go mod to download dependencies

This commit is contained in:
waseem
2019-10-15 08:03:09 +02:00
parent 6ec1f9add8
commit 4b02478210
2 changed files with 3 additions and 4 deletions

View File

@@ -13,14 +13,13 @@ VERSION=$(shell cat .version)
BUILD=
GOCMD = go
GLIDECMD = glide
GOFLAGS ?= $(GOFLAGS:)
LDFLAGS =
default: build test
install:
"$(GLIDECMD)" install --strip-vendor
"$(GOCMD)" mod download
build:
"$(GOCMD)" build ${GOFLAGS} ${LDFLAGS} -o "${BINARY}"