summaryrefslogtreecommitdiffstats
path: root/build-aux/flatpak/generate-json-manifest.sh
blob: c8544e3e837bc3801d7226abdac6e9d1f8cc537c (plain)
1
2
3
4
5
6
7
8
9
10
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'