mirror of
https://github.com/taigrr/wasm-experiments
synced 2025-01-18 04:03:21 -08:00
Fix make test
This commit is contained in:
5
Makefile
5
Makefile
@@ -74,8 +74,9 @@ vecty: clean
|
||||
cp ./vecty/index.html ./html/index.html
|
||||
cp $$(go env GOROOT)/misc/wasm/wasm_exec.js ./html/wasm_exec.js
|
||||
|
||||
test: clean
|
||||
GOOS=js GOARCH=wasm go test -c -o ./html/test.wasm ./test/
|
||||
.PHONY: test
|
||||
test:
|
||||
GOOS=js GOARCH=wasm go test -v ./test/
|
||||
|
||||
clean:
|
||||
rm -f ./html/*
|
||||
|
||||
Reference in New Issue
Block a user