Skip to content

Commit 6209190

Browse files
authored
Add GOBIN to PATH in Makefile (#485)
1 parent a756661 commit 6209190

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ ifndef GOPATH
3737
GOPATH := $(shell go env GOPATH)
3838
endif
3939

40+
GOBIN := $(if $(shell go env GOBIN),$(shell go env GOBIN),$(GOPATH)/bin)
41+
export PATH := $(GOBIN):$(PATH)
42+
4043
MODULE_ROOT := github.com/temporalio/temporal
4144
BUILD := ./build
4245
COLOR := "\e[1;36m%s\e[0m\n"

0 commit comments

Comments
 (0)