1234567891011121314151617181920212223242526272829303132 |
- {
-
-
- "version": "2.0.0",
- "tasks": [
- {
- "label": "control shift B",
- "type": "shell",
- "command": "echo ${fileBasenameNoExtension}",
- "dependsOn": ["default run executable"],
- "group": {"kind": "build","isDefault": true}
- },
- {
- "label": "default compile",
- "type": "shell",
-
- "command": "$(make clean f=${fileBasenameNoExtension}.exe) -and $(make ${fileBasenameNoExtension}.exe)",
- "dependsOn": ["default directory"]
- },
- {
- "label": "default run executable",
- "type": "shell",
- "command": "${fileBasenameNoExtension}/./${fileBasenameNoExtension}.exe",
- "dependsOn": ["default compile"]
- },
- {
- "label": "default directory",
- "command": "$(test-path ${fileBasenameNoExtension}) -or $(mkdir ${fileBasenameNoExtension})",
- "type": "shell"
- }
- ]
- }
|