Use simple templating for static processing

This commit is contained in:
smdyv
2023-07-13 17:06:57 +02:00
committed by Daniel Micay
parent 4430036ea2
commit 150608e016
27 changed files with 127 additions and 667 deletions

View File

@@ -31,6 +31,8 @@ cp -a nginx nginx-tmp
rm -rf static-tmp
cp -a static static-tmp
python3 process-templates.py static-tmp
for file in static-tmp/**/*.@(json|webmanifest); do
json_verify < "$file" >/dev/null
json_reformat -m < "$file" | sponge "$file"