From 2a28a38db1e8251611389e7ab6ab3c2c1ee21187 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Mon, 6 Apr 2026 12:17:57 +0200 Subject: Make flatpak dirs configurable, use _ --- justfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 31e37da..1bcd0e3 100644 --- a/justfile +++ b/justfile @@ -5,6 +5,8 @@ app_name := "map" channel := "unstable" builddir := "_build" distdir := "_dist" +flatpakdir := "_flatpak" +repodir := "_repo" clean_images := "" # Derived Values --------------------------------------------------------------- @@ -86,8 +88,8 @@ update_flatpak_dependencies: # Builds a flatpak and exports the .flatpak file package-flatpak: _ensure_distdir update_flatpak_dependencies - flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo --install builddir ./build-aux/flatpak/systems.tranquil.Map.yml - flatpak build-bundle repo {{distdir}}/{{filename}}.flatpak systems.tranquil.Map + flatpak-builder --force-clean --user --install-deps-from=flathub --repo={{repodir}} --install {{flatpakdir}} ./build-aux/flatpak/systems.tranquil.Map.yml + flatpak build-bundle {{repodir}} {{distdir}}/{{filename}}.flatpak systems.tranquil.Map _fetch-linuxdeploy: @mkdir -p .cache -- cgit