Move to go mod from dep
[aaf/sms.git] / sms-service / src / quorumclient / Makefile
index 00e12a7..f3c9be6 100644 (file)
@@ -1,14 +1,14 @@
 GOPATH := $(shell realpath "$(CURDIR)/../../")\r
 BINARY := quorumclient\r
 PLATFORM := linux\r
-DEPENDENCIES := github.com/golang/dep/cmd/dep\r
 \r
 export GOPATH ...\r
+export GO111MODULE=on\r
 \r
 all: test build\r
 deploy: test build\r
 \r
-build: deps format\r
+build: clean\r
        CGO_ENABLED=0 GOOS=$(PLATFORM) go build -a \\r
        -ldflags '-extldflags "-static"' \\r
        -o $(GOPATH)/target/$(BINARY) -v quorumclient.go\r
@@ -23,8 +23,4 @@ test:
 format:\r
        go fmt ./...\r
 \r
-deps:\r
-       go get -u $(DEPENDENCIES)\r
-       $(GOPATH)/bin/dep ensure\r
-\r
 .PHONY: test\r