mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "process",
|
|
"command": "zig",
|
|
"args": ["build"],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "run",
|
|
"type": "process",
|
|
"command": "zig",
|
|
"args": ["run", "${file}"],
|
|
"group": "build",
|
|
"presentation": {
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "test",
|
|
"type": "shell",
|
|
"command": "zig",
|
|
"args": [
|
|
"test",
|
|
"${file}",
|
|
"--main-pkg-path",
|
|
"${workspaceFolder}",
|
|
"-femit-bin=${workspaceFolder}/zig-out/bin/test",
|
|
";",
|
|
"true"
|
|
],
|
|
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"showReuseMessage": false,
|
|
"clear": true,
|
|
"panel": "new",
|
|
"reveal": "always"
|
|
}
|
|
}
|
|
]
|
|
}
|