{ "folders": [ { "path": "." } ], "settings": {}, "tasks": { "version": "2.0.0", "tasks": [ { "label": "all", "type": "shell", "command": "./build_all.bat ${input:cargo cmd}", "group": { "kind": "build" } }, { "label": "cargo", "type": "shell", "command": "./run_cargo ${input:project} ${input:cargo cmd} ${input:build cfg} ${input:cargo target}", "group": { "kind": "build", } }, { "label": "run test make", "type": "shell", "command": "wsl make -f Test.mk test_${input:project}", "group": { "kind": "build", }, "options": { "cwd": "${workspaceFolder}/Tests" } } ], "inputs": [ { "id": "build cfg", "type": "pickString", "options": ["debug", "release"], "default": "release", "description": "build configuration" }, { "id": "project", "type": "pickString", "options": ["cdtypes", "cpp_out", "psxcdgen", "psxcdread", "tool_helper"], "description": "project to build" }, { "id": "cargo cmd", "type":"pickString", "options": ["build", "run", "check", "clean"], "default": "build", "description": "cargo command to run" }, { "id": "cargo target", "type": "pickString", "options": ["windows", "linux"], "description": "The target for the tool to build" } ] } }