Permalink
Browse files

makefile: add the GOPATH/bin directory to the PATH

  • Loading branch information...
1 parent 5ed36da commit ec8285272677acad5057c946ac8db5e51844bf64 @etix committed Mar 3, 2017
Showing with 2 additions and 0 deletions.
  1. +2 −0 Makefile
View
@@ -11,6 +11,8 @@ PACKAGE = github.com/etix/mirrorbits
GOFLAGS := -ldflags "-X $(PACKAGE)/core.VERSION=$(VERSION) -X $(PACKAGE)/core.BUILD=$(BUILD)"
GOFLAGSDEV := -race -ldflags "-X $(PACKAGE)/core.VERSION=$(VERSION) -X $(PACKAGE)/core.BUILD=$(BUILD) -X $(PACKAGE)/core.DEV=-dev"
+export PATH := ${GOPATH}/bin:$(PATH)
+
all: build
vendor:

0 comments on commit ec82852

Please sign in to comment.