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

Fix tinygo JS example

This commit is contained in:
Johan Brandhorst
2019-04-30 15:51:11 +01:00
parent 6d867a75ab
commit 22573701f4
2 changed files with 7 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ tinygo: clean
cp /usr/local/tinygo/targets/wasm_exec.js ./html/wasm_exec.js\
"
cp $$(go env GOROOT)/misc/wasm/wasm_exec.html ./html/index.html
sed -i -e 's;</button>;</button>\n\t<div id=\"target\"></div>;' ./html/index.html
.PHONY: channels
channels: clean