Updated Gomote (markdown)

Brad Fitzpatrick 2017-04-06 15:57:39 -07:00
parent 959c53b1ef
commit 3f1d563da5

@ -75,3 +75,18 @@ The "gomote run" command has many of its own flags:
-system
run inside the system, and not inside the workdir; this is implicit if cmd starts with '/'
```
## Tricks
### Windows
```
$ gomote run -path '$PATH,$WORKDIR/go/bin' -e 'GOROOT=c:\workdir\go' user-bradfitz-windows-amd64-gce-0 go/bin/go.exe test cmd/go -short
```
### Subrepos on Windows
```
$ tar -C ~/src/ -zc golang.org/x/tools | gomote puttar -dir=gopath/src $MOTE
$ gomote run -e 'GOPATH=c:/workdir/gopath' $MOTE go/bin/go test -run=TestFixImportsVendorPackage golang.org/x/tools/imports
```