organizrr/.vscode/tasks.json
RaviAnand Mohabir 0758f65b33
All checks were successful
continuous-integration/drone/promote/production Build is passing
continuous-integration/drone/push Build is passing
chore: 🔧 add wasm build vscode task
2025-03-25 18:37:46 +01:00

16 lines
416 B
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build WASM binary",
"type": "shell",
"command": "GOOS=\"js\" GOARCH=\"wasm\" go build -o main.wasm",
"windows": {
"command": "$Env:GOOS = \"js\"; $Env:GOARCH = \"wasm\"; go build -o public/main.wasm"
}
}
]
}