File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 3030 ls -lah gotip.tar.gz
3131 mkdir -p $HOME/gotip
3232 tar -C $HOME/gotip -xzf gotip.tar.gz
33-
34- -
run :
git config --global url.https://[email protected] https://github.com 3533 - run : make wasirun
36- - run : make test
34+ - run : make test GO=$HOME/gotip/bin/go
Original file line number Diff line number Diff line change 11.PHONY : test lint wasirun
22
3- GOPATH = $(shell gotip env GOPATH)
3+ GOPATH = $(shell $( GO ) env GOPATH)
44
55wasip1.test : go.mod $(wildcard wasip1/* .go)
6- GOARCH=wasm GOOS=wasip1 gotip test -c ./wasip1
6+ GOARCH=wasm GOOS=wasip1 $( GO ) test -c ./wasip1
77
88test : wasirun wasip1.test
99 wasirun wasip1.test -test.v
1010
1111wasirun : $(GOPATH ) /bin/wasirun
1212
1313$(GOPATH ) /bin/wasirun :
14- gotip install github.com/stealthrocket/wasi-go/cmd/wasirun@latest
14+ $( GO ) install github.com/stealthrocket/wasi-go/cmd/wasirun@latest
You can’t perform that action at this time.
0 commit comments