1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

Meta: Add a PNG size check to CI and pre-commit checks

This uses optipng to check how much size can be reduced on PNG files. If
that's more than 2 KiB for at least one file, the check fails. As with
other checks, it doesn't run if optipng is not installed.
This commit is contained in:
kleines Filmröllchen 2022-06-18 13:17:52 +02:00 committed by Ali Mohammad Pur
parent bae330d559
commit 2c6e3ea2e9
2 changed files with 43 additions and 0 deletions

View file

@ -24,6 +24,7 @@ for cmd in \
Meta/check-debug-flags.sh \
Meta/check-markdown.sh \
Meta/check-newlines-at-eof.py \
Meta/check-png-sizes.sh \
Meta/check-style.py \
Meta/lint-executable-resources.sh \
Meta/lint-keymaps.py \