Skip to content

Commit

Permalink
Add GOBIN to PATH in Makefile (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin authored Jul 1, 2020
1 parent a756661 commit 6209190
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ ifndef GOPATH
GOPATH := $(shell go env GOPATH)
endif

GOBIN := $(if $(shell go env GOBIN),$(shell go env GOBIN),$(GOPATH)/bin)
export PATH := $(GOBIN):$(PATH)

MODULE_ROOT := github.com/temporalio/temporal
BUILD := ./build
COLOR := "\e[1;36m%s\e[0m\n"
Expand Down

0 comments on commit 6209190

Please sign in to comment.