mirror of
https://github.com/SangeloDev/niminit.git
synced 2024-11-13 20:52:37 +00:00
37 lines
976 B
JSON
37 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"
|
|
}
|
|
]
|
|
}
|