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

Meta: Rewrite the check-newlines-at-eof script in python

The bash version takes around 15 seconds to run; that is way too slow.
This python3 version should take less than one second to run. :^)

Also, the script will now also check .py files and .txt CMake files.
This commit is contained in:
Emanuele Torre 2021-01-03 19:31:44 +01:00 committed by Andreas Kling
parent 7dc52e04fe
commit 6abba493b2
3 changed files with 63 additions and 43 deletions

View file

@ -16,7 +16,7 @@ set +e
for cmd in \
Meta/check-ak-test-files.sh \
Meta/check-debug-flags.sh \
Meta/check-newlines-at-eof.sh \
Meta/check-newlines-at-eof.py \
Meta/check-style.sh \
Meta/lint-executable-resources.sh \
Meta/lint-ipc-ids.sh \