2026-05-06

- corvée(gitignore) exclus les fichiers CSS compilés
This commit is contained in:
gcch 2026-05-04 11:47:06 +02:00
commit 2ef5fbba66
102 changed files with 996 additions and 209370 deletions

23
scripts/optimise-images.fish Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/fish
if ! test $argv
set -f argv web/app/uploads
end
if type --query gm
else
echo -e "GraphicsMagick is missing."
exit 1
end
if type --query cjxl
else
echo -e "A JPEGXL encoder (cjxl) is missing."
exit 1
end
if type --query avifenc
else
echo -e "An AVIF encoder (avifenc) is missing."
exit 1
end
fd --glob "**/*.{jpg,jpeg}" $argv[1] -x fish "scripts/optimise-image.fish"