Skip to content

Commit 22a8fa0

Browse files
Allow recipe to install rsrc executable
Modules prevent the installation of executables using the standard `go get` syntax. Using `GOMODULE111=off` should fix this until [#40276](golang/go#40276) is implemented. See also: [#27643](golang/go#27643) [#30515](golang/go#30515) [#171660042](https://www.pivotaltracker.com/story/show/171660042) Co-authored-by: Sebastian Vidrio <[email protected]>
1 parent 80d2c10 commit 22a8fa0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,12 @@ out/cf-cli_winx64.exe: $(GOSRC) rsrc.syso
177177
rm rsrc.syso
178178

179179
rsrc.syso:
180+
@# 'Temporarily' using GOMODULE111 hack: see
181+
@# [#27643](https://github.com/golang/go/issues/27643)
182+
@# [#30515](https://github.com/golang/go/issues/30515)
183+
@# [#40276](https://github.com/golang/go/issues/40276)
180184
@# Software for windows icon
181-
go get github.com/akavel/rsrc
185+
GOMODULE111=off go get github.com/akavel/rsrc
182186
@# Generates icon file
183187
rsrc -ico cf.ico
184188

0 commit comments

Comments
 (0)