Skip to content

Commit 160dd91

Browse files
committed
fix: make tools bug
Seems like the way we use the go list command has changed behavior; see this issue golang/go#61857
1 parent 9e01fc1 commit 160dd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARCH := $(shell uname -m)
99
protopatch := patch/go.proto
1010
protopatch-original := $(shell go list -m -f {{.Dir}} github.com/alta/protopatch)/$(protopatch)
1111
toolsdir := bin
12-
tool-pkgs := $(shell go list -f '{{join .Imports " "}}' tools.go)
12+
tool-pkgs := $(shell go list -e -f '{{join .Imports " "}}' tools.go)
1313
tool-cmds := $(foreach tool,$(notdir ${tool-pkgs}),${toolsdir}/${tool}) $(foreach cmd,${tool-cmds},$(eval $(notdir ${cmd})Cmd := ${cmd}))
1414
export PATH := $(shell pwd)/$(toolsdir):$(PATH)
1515

0 commit comments

Comments
 (0)