blob: 267e87228058f7103adc66e4c99ef0d043e7f353 [file] [log] [blame]
#!/bin/sh
set -eu
LANG=C
json_files=$(cd configurations; find . -iname "*.json" | sort | sed 's|^\./||')
MESON_FILE=configurations/meson.build
SELF=$(basename "$0")
# Generate the Meson file
{
echo "# This file is auto-generated. Do not edit manually."
echo "# File content generated with ${SELF}."
echo "configs = ["
for file in $json_files; do
echo " '${file}',"
done
echo "]"
} > "$MESON_FILE"