1
0
mirror of https://github.com/taigrr/wasm-experiments synced 2025-01-18 04:03:21 -08:00

Working WASM Fetch test case

This commit is contained in:
Johan Brandhorst
2019-05-28 22:40:09 +01:00
parent 1edc3d9fc5
commit 1fecaeb312
3 changed files with 45 additions and 30 deletions

View File

@@ -36,6 +36,9 @@ fetch: clean
cp $$(go env GOROOT)/misc/wasm/wasm_exec.js ./html/wasm_exec.js
sed -i -e 's;</button>;</button>\n\t<div id=\"target\"></div>;' ./html/index.html
test: clean
GOOS=js GOARCH=wasm go test -c -o ./html/test.wasm ./test/
clean:
rm -f ./html/*