Created
October 20, 2023 19:06
-
-
Save nothke/366d082a899833d7a185e6fb7cd3170c to your computer and use it in GitHub Desktop.
zig tasks for VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "zig build-exe", | |
"type": "process", | |
"command": "zig", | |
"args": [ | |
"build", | |
"run" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"presentation": { | |
"reveal": "silent", | |
"showReuseMessage": false, | |
"clear": true | |
} | |
}, | |
{ | |
"label": "zig run", | |
"type": "process", | |
"command": "zig", | |
"args": [ | |
"run", | |
"${file}" | |
], | |
"group": "build", | |
"presentation": { | |
"showReuseMessage": false, | |
"clear": true | |
} | |
}, | |
{ | |
"label": "zig test", | |
"type": "process", | |
"command": "zig", | |
"args": [ | |
"test", | |
"${file}" | |
], | |
"group": { | |
"kind": "test", | |
"isDefault": true | |
}, | |
"presentation":{ | |
"showReuseMessage": false, | |
"clear": true | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment