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/schemas/meson.build b/schemas/meson.build
new file mode 100644
index 0000000..647024f
--- /dev/null
+++ b/schemas/meson.build
@@ -0,0 +1,21 @@
+# This file is auto-generated. Do not edit manually.
+# File content generated with generate_schema_list.sh
+schemas = [
+ 'cpld.json',
+ 'exposes_record.json',
+ 'firmware.json',
+ 'global.json',
+ 'gpio_presence.json',
+ 'ibm.json',
+ 'intel.json',
+ 'leak_detector.json',
+ 'legacy.json',
+ 'mctp.json',
+ 'nvidia.json',
+ 'openbmc-dbus.json',
+ 'pid.json',
+ 'pid_zone.json',
+ 'satellite_controller.json',
+ 'stepwise.json',
+ 'virtual_sensor.json',
+]