1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +00:00
qbjs/.vscode/tasks.json
2023-04-26 17:17:57 -05:00

99 lines
1.9 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "${config:qb64.installPath}/qb64.exe",
"args": [
"-c",
"'${fileDirname}/${fileBasename}'",
"-x",
"-o",
"'${fileDirname}/${fileBasenameNoExtension}.exe'"
],
"linux": {
"command": "${config:qb64.installPath}/qb64",
"args": [
"-c",
"'${fileDirname}/${fileBasename}'",
"-x",
"-o",
"'${fileDirname}/${fileBasenameNoExtension}'"
]
},
"osx": {
"command": "${config:qb64.installPath}/qb64",
"args": [
"-c",
"'{fileDirname}/${fileBasename}'",
"-x",
"-o",
"'${fileDirname}/${fileBasenameNoExtension}'"
]
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Clean QB64",
"type": "shell",
"options": {
"cwd": "${config:qb64.installPath}/internal",
},
"command": "${config:qb64.installPath}/internal/clean.bat",
"linux": {
"command":"${config:qb64.installPath}/internal/clean.sh",
},
"osx": {
"command":"${config:qb64.installPath}/internal/clean.sh",
},
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Exe Compact",
"type": "shell",
"windows": {
"command": "compact",
"args": [
"/c",
"/exe:lzx",
"\"${fileDirname}\\${fileBasenameNoExtension}.exe\""
]
},
"linux": {
"command": "upx",
"args": [
"${fileDirname}/${fileBasenameNoExtension}.exe"
]
},
"osx": {
"command": "upx",
"args": [
"${fileDirname}/${fileBasenameNoExtension}.exe"
]
},
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"reveal": "always",
"panel": "new"
}
}
]
}