[gnome-builder] flatpak: add helper to spit out a .flatpak



commit 79358b33469fc353a2083050301185c9e4c789b5
Author: Christian Hergert <chergert redhat com>
Date:   Thu Apr 25 18:22:43 2019 -0700

    flatpak: add helper to spit out a .flatpak

 build-aux/flatpak/.gitignore     |  2 ++
 build-aux/flatpak/local-build.sh | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/build-aux/flatpak/.gitignore b/build-aux/flatpak/.gitignore
new file mode 100644
index 000000000..9ab6af9ba
--- /dev/null
+++ b/build-aux/flatpak/.gitignore
@@ -0,0 +1,2 @@
+_build
+_repo
diff --git a/build-aux/flatpak/local-build.sh b/build-aux/flatpak/local-build.sh
new file mode 100755
index 000000000..316e12112
--- /dev/null
+++ b/build-aux/flatpak/local-build.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+rm -f org.gnome.Builder.flatpak
+rm -rf _build ; mkdir _build
+rm -rf _repo ; mkdir _repo
+
+STATE_DIR=~/.cache/gnome-builder/flatpak-builder
+BRANCH=master
+
+flatpak-builder --ccache --state-dir=$STATE_DIR --force-clean _build org.gnome.Builder.json --repo=_repo 
--default-branch=$BRANCH
+flatpak build-bundle _repo org.gnome.Builder.flatpak org.gnome.Builder $BRANCH
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]