[gedit] flatpak: add scripts to build and test the flatpak locally



commit b1ab8274cce4606ac8de2ad910e677a1091207b6
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Nov 5 09:19:45 2019 +0100

    flatpak: add scripts to build and test the flatpak locally
    
    It's easier this way, I don't need to remember those commands.

 build-aux/flatpak/.gitignore             | 2 ++
 build-aux/flatpak/1-build-and-install.sh | 3 +++
 build-aux/flatpak/2-run-app.sh           | 3 +++
 build-aux/flatpak/3-teardown.sh          | 3 +++
 4 files changed, 11 insertions(+)
---
diff --git a/build-aux/flatpak/.gitignore b/build-aux/flatpak/.gitignore
new file mode 100644
index 000000000..7949add2a
--- /dev/null
+++ b/build-aux/flatpak/.gitignore
@@ -0,0 +1,2 @@
+.flatpak-builder/
+build/
diff --git a/build-aux/flatpak/1-build-and-install.sh b/build-aux/flatpak/1-build-and-install.sh
new file mode 100755
index 000000000..2e0d94c76
--- /dev/null
+++ b/build-aux/flatpak/1-build-and-install.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+flatpak-builder --force-clean --user --install build org.gnome.gedit.json
diff --git a/build-aux/flatpak/2-run-app.sh b/build-aux/flatpak/2-run-app.sh
new file mode 100755
index 000000000..1dc2b58de
--- /dev/null
+++ b/build-aux/flatpak/2-run-app.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+flatpak run org.gnome.gedit
diff --git a/build-aux/flatpak/3-teardown.sh b/build-aux/flatpak/3-teardown.sh
new file mode 100755
index 000000000..99cbb0608
--- /dev/null
+++ b/build-aux/flatpak/3-teardown.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+flatpak uninstall --user org.gnome.gedit


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