diff options
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' |