update single include from every directory

This commit is contained in:
pantor
2020-03-18 08:43:55 +01:00
parent cb0b852e23
commit f41feb69d2

View File

@@ -1,8 +1,9 @@
#!/usr/bin/env sh
if [ "${MESON_SOURCE_ROOT}" != "" ]
then
cd ${MESON_SOURCE_ROOT}
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
SOURCE_ROOT=$(dirname "${DIR}")
echo "Move to Source Root: ${SOURCE_ROOT}"
cd ${SOURCE_ROOT}
python3 amalgamate/amalgamate.py -c amalgamate/config.json -s include -v yes