From 2f628aef76b2d7dfdf904416c6227bf730945d61 Mon Sep 17 00:00:00 2001 From: noah the goodra Date: Sat, 11 Nov 2017 14:36:25 -0600 Subject: [PATCH] create go shims instead of adding dir to path (#1831) This change makes the script create shims in the scoop shims directory instead of adding another directory to the path env variable. I believe this might be prefered instead of adding to the path variable. --- go.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.json b/go.json index 870083685d..d612ed6505 100644 --- a/go.json +++ b/go.json @@ -6,7 +6,7 @@ "env_set": { "GOROOT": "$dir" }, - "env_add_path": "bin", + "bin": ["bin/go.exe","bin/gofmt.exe","bin/godoc.exe"], "installer": { "script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global" },