[devhelp] flatpak: add scripts to test the flatpak manifest
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] flatpak: add scripts to test the flatpak manifest
- Date: Wed, 29 Mar 2017 09:54:51 +0000 (UTC)
commit f0e44849b753d602f86cd27e34d627b952d2ade4
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Mar 29 11:31:54 2017 +0200
flatpak: add scripts to test the flatpak manifest
flatpak/.gitignore | 3 +++
flatpak/1-build.sh | 5 +++++
flatpak/2-add-remote.sh | 3 +++
flatpak/3-install-app.sh | 3 +++
flatpak/4-run-app.sh | 3 +++
flatpak/README | 4 ++++
6 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/.gitignore b/flatpak/.gitignore
new file mode 100644
index 0000000..01920b2
--- /dev/null
+++ b/flatpak/.gitignore
@@ -0,0 +1,3 @@
+devhelp
+repo
+.flatpak-builder/
diff --git a/flatpak/1-build.sh b/flatpak/1-build.sh
new file mode 100755
index 0000000..7ba0dbe
--- /dev/null
+++ b/flatpak/1-build.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+rm -rf devhelp/ repo/
+flatpak-builder devhelp org.gnome.Devhelp.json || exit 1
+flatpak build-export repo devhelp
diff --git a/flatpak/2-add-remote.sh b/flatpak/2-add-remote.sh
new file mode 100755
index 0000000..a842d37
--- /dev/null
+++ b/flatpak/2-add-remote.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+flatpak remote-add --user --no-gpg-verify devhelp-repo repo
diff --git a/flatpak/3-install-app.sh b/flatpak/3-install-app.sh
new file mode 100755
index 0000000..a499468
--- /dev/null
+++ b/flatpak/3-install-app.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+flatpak install --user devhelp-repo org.gnome.Devhelp
diff --git a/flatpak/4-run-app.sh b/flatpak/4-run-app.sh
new file mode 100755
index 0000000..0c9c297
--- /dev/null
+++ b/flatpak/4-run-app.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+flatpak run org.gnome.Devhelp
diff --git a/flatpak/README b/flatpak/README
new file mode 100644
index 0000000..a8d8dce
--- /dev/null
+++ b/flatpak/README
@@ -0,0 +1,4 @@
+Flatpak for Devhelp
+===================
+
+Scripts are provided to test easily the Flatpak manifest.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]