Skip to content

Commit

Permalink
makefile: add the GOPATH/bin directory to the PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
etix committed Mar 3, 2017
1 parent 5ed36da commit ec82852
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -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:
Expand Down

0 comments on commit ec82852

Please sign in to comment.