From 965479d71700261f1c6f7cea6840213b02e8e1b9 Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Sat, 10 Feb 2018 19:26:31 +0300 Subject: [PATCH 1/2] [FIX] Simplify dep fetching --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fef7c4dbe..708d58a96 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ +DEP_VERSION=0.4.1 + dependency: - go get -u github.com/golang/dep/cmd/dep + curl -fsSL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 + chmod +x $GOPATH/bin/dep dep ensure test: From bd67cc830fe54f80082d7f0f80fc24559e9a9060 Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Sat, 10 Feb 2018 19:29:53 +0300 Subject: [PATCH 2/2] fix Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 708d58a96..3952d7bd1 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ DEP_VERSION=0.4.1 dependency: - curl -fsSL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 - chmod +x $GOPATH/bin/dep + curl -fsSL -o ${GOPATH}/bin/dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 + chmod +x ${GOPATH}/bin/dep dep ensure test: