From 2b6ee83552ec8bb5397899ea784bf953b1fb9d33 Mon Sep 17 00:00:00 2001 From: Timothee 'TTimo' Besset Date: Sun, 19 Feb 2023 21:22:55 -0600 Subject: [PATCH] add a flatpak build task --- .vscode/tasks.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8aa9f7e3..db62856d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,13 +4,23 @@ "version": "2.0.0", "tasks": [ { - "label": "debug", + "label": "build debug", "type": "shell", "command": "scons config=debug --no-packs --jobs=12", "problemMatcher": [], "group": { - "kind": "build", - "isDefault": true + "kind": "build" + } + }, + { + "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" } } ]