scripts: auto-generate list of schemas
Since the list of schemas is growing and we already have a directory, it
does not need to be updated manually. Make a script for it and check
that that's been done in CI.
Tested: Using 'meson install', check that schemas are installed like
before.
Script works and updates the files as expected.
Change-Id: Ia1b3d99890477c4077e8e3a52a5338805d810440
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/scripts/generate_schema_list.sh b/scripts/generate_schema_list.sh
new file mode 100755
index 0000000..b319cde
--- /dev/null
+++ b/scripts/generate_schema_list.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -eu
+
+self=$(basename "$0")
+
+./scripts/generate_meson_array.sh schemas schemas "${self}"