We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b0ffc5 commit 871e8f5Copy full SHA for 871e8f5
1 file changed
Makefile
@@ -1,6 +1,6 @@
1
.PHONY: test checks build
2
3
-default: test checks build gotip
+default: checks build gotip
4
5
gopath:
6
mkdir $(CURDIR)/gopath
@@ -14,8 +14,8 @@ gotip: gopath/bin/gotip
14
test: gotip
15
GOOS=wasip1 GOARCH=wasm $(CURDIR)/gopath/bin/gotip test -v -cover ./...
16
17
-build: gotip
18
- GOOS=wasip1 GOARCH=wasm CGO_ENABLED=0 $(CURDIR)/gopath/bin/gotip build -buildmode=c-shared -trimpath -o plugin.wasm ./main.go
+build:
+ GOOS=wasip1 GOARCH=wasm CGO_ENABLED=0 $(CURDIR)/gopath/bin/gotip build -buildmode=c-shared -trimpath -o plugin.wasm .
19
20
checks:
21
GOOS=wasip1 GOARCH=wasm golangci-lint run
0 commit comments