mirror of
https://github.com/SangeloDev/niminit.git
synced 2024-11-26 18:22:41 +00:00
38 lines
976 B
JSON
38 lines
976 B
JSON
|
{
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"label": "nim: build current file",
|
||
|
"command": "nim",
|
||
|
"args": [
|
||
|
"c",
|
||
|
"-o:${workspaceRoot}/bin/${fileBasenameNoExtension}",
|
||
|
"-r", "${fileBasename}"
|
||
|
],
|
||
|
"options": {
|
||
|
"cwd": "${workspaceRoot}"
|
||
|
},
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"label": "nim: build current file (for debugging)",
|
||
|
"command": "nim",
|
||
|
"args": [
|
||
|
"c",
|
||
|
"-g",
|
||
|
"--debugger:native",
|
||
|
"-o:${workspaceRoot}/bin/${fileBasenameNoExtension}",
|
||
|
"${relativeFile}"
|
||
|
],
|
||
|
"options": {
|
||
|
"cwd": "${workspaceRoot}"
|
||
|
},
|
||
|
"type": "shell"
|
||
|
}
|
||
|
]
|
||
|
}
|