remove wasm glue from repo

use scripts/build-tplprev.sh to build and copy glue code from go stdlib
This commit is contained in:
nils måsén 2023-10-02 13:52:36 +02:00
parent ecf1dbb6b1
commit 0776077ac5
4 changed files with 12 additions and 557 deletions

7
scripts/build-tplprev.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
cd $(git rev-parse --show-toplevel)
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./docs/assets/
GOARCH=wasm GOOS=js go build -o ./docs/assets/tplprev.wasm ./tplprev