diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-06 12:17:57 +0200 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-06 12:23:58 +0200 |
| commit | 2a28a38db1e8251611389e7ab6ab3c2c1ee21187 (patch) | |
| tree | b098109c16128369e3fdca9550f133efb32f42d7 | |
| parent | bc54383253343c32a856ebbc465f7f8a7243ffc2 (diff) | |
Make flatpak dirs configurable, use _
| -rw-r--r-- | .build.yml | 2 | ||||
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | justfile | 6 |
3 files changed, 7 insertions, 5 deletions
@@ -41,4 +41,4 @@ tasks: flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - release: | cd map-linux - just clean_images=1 target=x86_64-unknown-linux-gnu flatpak_cargo_generator=/home/build/flatpak-builder-tools/cargo ci + just clean_images=1 flatpak_cargo_generator=/home/build/flatpak-builder-tools/cargo ci @@ -1,11 +1,11 @@ /target -/repo /.cache *.mo -builddir vendor _build _dist +_flatpak +_repo dist .env .flatpak-builder @@ -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 |