Skip to content

Commit a8a9df7

Browse files
committed
Improve listing of files to be formatted.
1 parent 1fdfd03 commit a8a9df7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

format.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
./src.ps1 | Select-String -NotMatch "CxCli.h" | Select-String -NotMatch "DotNet" | Select-String -NotMatch "/tl-parser/" | ForEach-Object {
1+
./src.ps1 | Select-String -NotMatch "CxCli.h" | Select-String -CaseSensitive -NotMatch "DotNet" | Select-String -NotMatch "tl/tl_dotnet_object.h" | Select-String -NotMatch "/tl-parser/" | ForEach-Object {
22
clang-format -verbose -style=file -i $_
33
}

format.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22
cd $(dirname $0)
3-
./src.sh | grep -v CxCli.h | grep -iv dotnet | grep -v /tl-parser/ | xargs -n 1 clang-format -verbose -style=file -i
3+
./src.sh | grep -v CxCli.h | grep -v DotNet | grep -v tl/tl_dotnet_object.h | grep -v /tl-parser/ | xargs -n 1 clang-format -verbose -style=file -i

0 commit comments

Comments
 (0)