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

Use modules for vecty example

This commit is contained in:
Johan Brandhorst
2019-07-06 20:49:11 +01:00
parent eb9e2b3c3b
commit 20c2db3f61
3 changed files with 6 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ vugu: clean
.PHONY: vecty
vecty: clean
GOOS=js GOARCH=wasm go build -o ./html/test.wasm ./vecty/main.go
GO111MODULE=on GOOS=js GOARCH=wasm go build -o ./html/test.wasm ./vecty/main.go
cp ./vecty/index.html ./html/index.html
cp $$(go env GOROOT)/misc/wasm/wasm_exec.js ./html/wasm_exec.js