add a flatpak build task

This commit is contained in:
Timothee 'TTimo' Besset 2023-02-19 21:22:55 -06:00
parent d97f00e0e9
commit 2b6ee83552

16
.vscode/tasks.json vendored
View file

@ -4,13 +4,23 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "debug", "label": "build debug",
"type": "shell", "type": "shell",
"command": "scons config=debug --no-packs --jobs=12", "command": "scons config=debug --no-packs --jobs=12",
"problemMatcher": [], "problemMatcher": [],
"group": { "group": {
"kind": "build", "kind": "build"
"isDefault": true }
},
{
"label": "build flatpak",
"type": "shell",
"command": "flatpak-builder --user --install --disable-updates --force-clean --ccache gtkradiant io.github.TTimo.GtkRadiant.json",
"options": {
"cwd": "${workspaceFolder}/../io.github.TTimo.GtkRadiant"
},
"group": {
"kind": "build"
} }
} }
] ]