mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-13 08:02:56 +00:00
apply-clang-format.sh: Support formatting only selected files
This commit is contained in:
parent
ab8830f72c
commit
8755b82355
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ clang_format_args=(
|
|||
-verbose
|
||||
)
|
||||
|
||||
if [[ $# -ge 1 ]]; then
|
||||
exec clang-format "${clang_format_args[@]}" "$@"
|
||||
fi
|
||||
|
||||
expand --tabs=2 --initial lib/siphash.h | sponge lib/siphash.h
|
||||
|
||||
find \
|
||||
|
|
Loading…
Add table
Reference in a new issue