mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated Gomote (markdown)
parent
bd3a5d4bf5
commit
be23af6ca7
@ -120,7 +120,7 @@ Testing golang.org/x/sys/unix on $MOTE
|
||||
|
||||
```
|
||||
$ tar -C $GOPATH/src/ -zc golang.org/x/sys/unix | gomote puttar -dir=gopath/src $MOTE
|
||||
$ gomote run -e 'GOPATH=/tmp/workdir/gopath' -dir 'gopath/src/golang.org/x/crypto/ssh' $MOTE go/bin/go test -v golang.org/x/crypto/ssh
|
||||
$ gomote run -e 'GOPATH=/tmp/workdir/gopath' -dir 'gopath/src/golang.org/x/sys/unix' $MOTE go/bin/go test -v golang.org/x/sys/unix
|
||||
```
|
||||
|
||||
(The GOPATH part is for GOPATH compatibility mode; the `-dir` is for modules mode, which looks in the working directory and up for `go.mod`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user