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.
This commit is contained in:
noah the goodra 2017-11-11 14:36:25 -06:00 committed by Richard Kuhnt
parent 6846e0fbe0
commit 2f628aef76

View File

@ -6,7 +6,7 @@
"env_set": { "env_set": {
"GOROOT": "$dir" "GOROOT": "$dir"
}, },
"env_add_path": "bin", "bin": ["bin/go.exe","bin/gofmt.exe","bin/godoc.exe"],
"installer": { "installer": {
"script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global" "script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
}, },