From 74c0feda4ef31e67b37146210f924a91794c7c17 Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Mon, 18 Jul 2022 12:32:45 -0400 Subject: [PATCH] Fixes to subsection on Windows tricks. --- Gomote.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Gomote.md b/Gomote.md index 93446734..288b7c3d 100644 --- a/Gomote.md +++ b/Gomote.md @@ -99,10 +99,12 @@ builder name "@ip[:port>", such as ### Windows ``` -$ gomote run -path '$PATH,$WORKDIR/go/bin' -e 'GOROOT=c:\workdir\go' $MOTE go/src/make.bat -$ gomote run -path '$PATH,$WORKDIR/go/bin' -e 'GOROOT=c:\workdir\go' $MOTE go/bin/go.exe test cmd/go -short +$ gomote run -path '$PATH,$WORKDIR/go/bin' $MOTE go/src/make.bat +$ gomote run -path '$PATH,$WORKDIR/go/bin' $MOTE go/bin/go.exe test cmd/go -short ``` +Note: previous versions of the wiki have advised setting GOROOT for gomote 'run' commands (e.g. "-e GOROOT=c:\workdir\go"); this is no longer recommended (causes problems with Go command caching). + ### Subrepos on Windows ```