mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Meta: Update lint-{clang-format,shell-scripts}.sh to take a list of files
This should speed up pre-commit a bit as only files that are staged will be processed, and clang-format and shellcheck are only invoked once, not for every file. When no arguments are given (e.g. on CI), it still uses 'git ls-files'.
This commit is contained in:
committed by
Andreas Kling
parent
a56b3cbf7c
commit
51bcfb5a44
@@ -5,4 +5,3 @@ repos:
|
||||
name: Running Meta/lint-ci.sh to ensure changes will pass linting on CI
|
||||
entry: bash Meta/lint-ci.sh
|
||||
language: system
|
||||
pass_filenames: false
|
||||
|
||||
Reference in New Issue
Block a user