2021-06-28 05:01:04 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "Validate SQF",
|
|
|
|
"command": "${config:python.pythonPath}",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"sqf_validator.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Validate Config",
|
|
|
|
"command": "${config:python.pythonPath}",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"config_style_checker.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Validate Stringtables",
|
|
|
|
"command": "${config:python.pythonPath}",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"stringtable_validator.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Check Strings",
|
|
|
|
"command": "${config:python.pythonPath}",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"check_strings.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "SQFVM Checker",
|
|
|
|
"command": "${config:python.pythonPath}",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"sqfvmChecker.py"
|
2023-07-20 21:15:21 +00:00
|
|
|
],
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Validate headers",
|
|
|
|
"command": "${config:python.pythonPath}",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/docs/tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"document_functions.py",
|
|
|
|
"--debug"
|
2021-06-28 05:01:04 +00:00
|
|
|
]
|
|
|
|
},
|
2024-04-26 22:35:30 +00:00
|
|
|
{
|
|
|
|
"label": "HEMTT check",
|
|
|
|
"command": "hemtt.exe",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"check"
|
|
|
|
],
|
|
|
|
},
|
2021-06-28 05:01:04 +00:00
|
|
|
{
|
|
|
|
"label": "Test All",
|
|
|
|
"dependsOn": [
|
|
|
|
"Validate SQF",
|
|
|
|
"Validate Config",
|
|
|
|
"Validate Stringtables",
|
2023-07-20 21:15:21 +00:00
|
|
|
"Validate headers",
|
2021-06-28 05:01:04 +00:00
|
|
|
"Check Strings",
|
2024-04-26 22:35:30 +00:00
|
|
|
"SQFVM Checker",
|
|
|
|
"HEMTT check"
|
2021-06-28 05:01:04 +00:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "test",
|
|
|
|
"isDefault": true
|
2023-07-20 21:15:21 +00:00
|
|
|
}
|
2021-06-28 05:01:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build: make.py (pboProject)",
|
|
|
|
"command": "${config:python.pythonPath}",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/tools"
|
|
|
|
},
|
|
|
|
"args": [
|
2023-04-30 21:53:43 +00:00
|
|
|
"make.py",
|
|
|
|
"ci"
|
2021-06-28 05:01:04 +00:00
|
|
|
],
|
|
|
|
"group": {
|
2024-04-26 22:35:30 +00:00
|
|
|
"kind": "build"
|
2021-06-28 05:01:04 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-04-30 21:53:43 +00:00
|
|
|
"label": "Build: Hemtt",
|
2021-06-28 05:01:04 +00:00
|
|
|
"command": "hemtt.exe",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
"args": [
|
2023-04-30 21:53:43 +00:00
|
|
|
"build",
|
|
|
|
"-v"
|
2021-06-28 05:01:04 +00:00
|
|
|
],
|
2024-04-26 22:35:30 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2021-06-28 05:01:04 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|