mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated Gomote (markdown)
parent
959c53b1ef
commit
3f1d563da5
15
Gomote.md
15
Gomote.md
@ -75,3 +75,18 @@ The "gomote run" command has many of its own flags:
|
|||||||
-system
|
-system
|
||||||
run inside the system, and not inside the workdir; this is implicit if cmd starts with '/'
|
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
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user