We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c0a30 commit e4b8ef4Copy full SHA for e4b8ef4
Makefile
@@ -1,14 +1,15 @@
1
.PHONY: test lint wasirun
2
3
GOPATH ?= $(shell $(GO) env GOPATH)
4
+wasirun = $(GOPATH)/bin/wasirun
5
6
wasip1.test: go.mod $(wildcard wasip1/*.go)
7
GOARCH=wasm GOOS=wasip1 $(GO) test -c ./wasip1
8
9
test: wasirun wasip1.test
- wasirun wasip1.test -test.v
10
+ $(wasirun) wasip1.test -test.v
11
-wasirun: $(GOPATH)/bin/wasirun
12
+wasirun: $(wasirun)
13
-$(GOPATH)/bin/wasirun:
14
+$(wasirun):
15
$(GO) install github.com/stealthrocket/wasi-go/cmd/wasirun@latest
0 commit comments