mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +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:
parent
bae330d559
commit
2c6e3ea2e9
Notes:
sideshowbarker
2024-07-17 10:05:30 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 2c6e3ea2e9
Pull-request: https://github.com/SerenityOS/serenity/pull/14322
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg ✅
2 changed files with 43 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue