diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 17:42:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 17:42:51 +0000 |
commit | ba429d344132c088177e853cce8ff7181570b221 (patch) | |
tree | 87ebf15269b4301737abd1735baabba71be93622 /build-aux/flatpak/generate-json-manifest.sh | |
parent | Initial commit. (diff) | |
download | gedit-ba429d344132c088177e853cce8ff7181570b221.tar.xz gedit-ba429d344132c088177e853cce8ff7181570b221.zip |
Adding upstream version 44.2.upstream/44.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build-aux/flatpak/generate-json-manifest.sh')
-rwxr-xr-x | build-aux/flatpak/generate-json-manifest.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build-aux/flatpak/generate-json-manifest.sh b/build-aux/flatpak/generate-json-manifest.sh new file mode 100755 index 0000000..c8544e3 --- /dev/null +++ b/build-aux/flatpak/generate-json-manifest.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# SPDX-FileCopyrightText: Copyright 2022 Jake Dane +# SPDX-License-Identifier: GPL-3.0-or-later + +# yq: A portable command-line YAML processor. +# Currently hosted here: https://github.com/mikefarah/yq + +# At the time of writing, some tools around Flatpak (for example gnome-builder) +# only supports the *.json format, but *.yml is easier to edit. + +yq eval 'org.gnome.gedit.yml' --output-format json > 'org.gnome.gedit.json' |