Remove old tasks
This commit is contained in:
parent
a726800e05
commit
73137b6f15
|
@ -39,59 +39,6 @@
|
||||||
"command": "make -C ./${input:linux_cargo_task} BUILD_PROFILE=${input:build cfg}"
|
"command": "make -C ./${input:linux_cargo_task} BUILD_PROFILE=${input:build cfg}"
|
||||||
},
|
},
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
"label": "all",
|
|
||||||
"type": "shell",
|
|
||||||
"windows": {
|
|
||||||
"command": "./build_all.bat ${input:cargo cmd}"
|
|
||||||
},
|
|
||||||
"linux": {
|
|
||||||
"command": "./build_all.sh ${input:cargo cmd}"
|
|
||||||
},
|
|
||||||
"group": {
|
|
||||||
"kind": "build"
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"win_tools": "psxcdgen_ex psxcdread psxreadmap wslpath",
|
|
||||||
"linux_tools": "cpp_out psxcdgen_ex jaby_engine_fconv mkoverlay",
|
|
||||||
"clean_tools": "cdtypes tool_helper"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "cargo",
|
|
||||||
"type": "shell",
|
|
||||||
"windows": {
|
|
||||||
"command": "./run_cargo.bat ${input:project} ${input:cargo cmd} ${input:build cfg} ${input:cargo target}",
|
|
||||||
},
|
|
||||||
"linux": {
|
|
||||||
"command": "./run_cargo.sh ${input:project} ${input:cargo cmd} ${input:build cfg} ${input:cargo target}",
|
|
||||||
},
|
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "cargo test",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "./run_cargo ${input:project} test release ${input:cargo target}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "run test make",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "wsl make -f Test.mk test_${input:project}",
|
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"cwd": "${workspaceFolder}/Tests"
|
|
||||||
},
|
|
||||||
"dependsOn": ["cargo test"],
|
|
||||||
"dependsOrder": "sequence"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
|
@ -105,18 +52,6 @@
|
||||||
"fieldSeparator": "!"
|
"fieldSeparator": "!"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
"id": "planschi",
|
|
||||||
"type": "command",
|
|
||||||
"command": "shellCommand.execute",
|
|
||||||
"args": {
|
|
||||||
"command": "printf A!B\\nB!C",
|
|
||||||
"fieldSeparator": "!"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "build cfg",
|
"id": "build cfg",
|
||||||
"type": "pickString",
|
"type": "pickString",
|
||||||
|
@ -124,25 +59,12 @@
|
||||||
"default": "release",
|
"default": "release",
|
||||||
"description": "build configuration"
|
"description": "build configuration"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "project",
|
|
||||||
"type": "pickString",
|
|
||||||
"options": ["cdtypes", "cpp_out", "jaby_engine_fconv", "mkoverlay", "psxreadmap", "psxcdgen_ex", "psxcdread", "tool_helper", "wslpath"],
|
|
||||||
"description": "project to build"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "cargo cmd",
|
"id": "cargo cmd",
|
||||||
"type":"pickString",
|
"type":"pickString",
|
||||||
"options": ["build", "check", "update", "clean", "run", "tree"],
|
"options": ["build", "check", "update", "clean", "run", "tree"],
|
||||||
"default": "build",
|
"default": "build",
|
||||||
"description": "cargo command to run"
|
"description": "cargo command to run"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "cargo target",
|
|
||||||
"type": "pickString",
|
|
||||||
"options": ["linux", "windows"],
|
|
||||||
"default": "linux",
|
|
||||||
"description": "The target for the tool to build"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue