ci: change wasm build to cd into folder

This commit is contained in:
Derrick Hammer 2023-06-23 02:45:17 -04:00
parent 1077c4d510
commit 2f3a116f8d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
"scripts": {
"prepare": "presetter bootstrap",
"build": "presetter run build",
"build:wasm": "mkdir ./lib/wasm && tinygo build -o ./lib/wasm/bao.wasm -target wasm ./src/golang/main.go",
"build:wasm": "mkdir ./lib/wasm && cd src/golang; tinygo build -o ../lib/wasm/bao.wasm -target wasm ./main.go",
"semantic-release": "semantic-release"
},
"dependencies": {