ci: switch to sourcing gvm in wasm script
This commit is contained in:
parent
891397e535
commit
4103ad4652
|
@ -30,7 +30,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "presetter bootstrap",
|
"prepare": "presetter bootstrap",
|
||||||
"build": "presetter run build",
|
"build": "presetter run build",
|
||||||
"build:wasm": "gvm use go1.19; mkdir ./lib/wasm && cd src/golang; tinygo build -o ../lib/wasm/bao.wasm -target wasm ./main.go",
|
"build:wasm": "source ~/.gvm/scripts/gvm; mkdir ./lib/wasm && cd src/golang; tinygo build -o ../lib/wasm/bao.wasm -target wasm ./main.go",
|
||||||
"semantic-release": "semantic-release"
|
"semantic-release": "semantic-release"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue