mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated Gomote (markdown)
parent
7fe9b69e44
commit
ff134184f1
15
Gomote.md
15
Gomote.md
@ -95,16 +95,25 @@ builder name "<build-config-name>@ip[:port>", such as
|
||||
### 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
|
||||
$ gomote run -path '$PATH,$WORKDIR/go/bin' -e 'GOROOT=c:\workdir\go' $G go/src/make.bat
|
||||
$ 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 ~/go/src/ -zc golang.org/x/tools | gomote puttar -dir=gopath/src $MOTE
|
||||
$ tar --exclude .git -C ~/go/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
|
||||
```
|
||||
|
||||
If ssh'd into the machine, these envvars may be handy:
|
||||
|
||||
```
|
||||
$ set GOPATH=c:\workdir\gopath
|
||||
$ set PATH=%PATH%;c:\workdir\gopath\bin;c:\workdir\go\bin
|
||||
$ set CGO_ENABLED=0
|
||||
```
|
||||
|
||||
### Subrepos on Unix
|
||||
|
||||
Testing golang.org/x/sys/unix on $MOTE
|
||||
@ -126,4 +135,4 @@ To get an access token, you will need to ask one of the editors of the `golang-o
|
||||
|
||||
```
|
||||
$ echo d41d8cd98f00b204e9800998ecf8427e > $HOME/.config/gomote/user-$USER.token
|
||||
```
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user