aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--format.ps12
-rwxr-xr-xformat.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/format.ps1 b/format.ps1
index a1079a34c..ef4f53155 100644
--- a/format.ps1
+++ b/format.ps1
@@ -1,3 +1,3 @@
-./src.ps1 | Select-String -NotMatch "CxCli.h" | Select-String -NotMatch "DotNet" | Select-String -NotMatch "/tl-parser/" | ForEach-Object {
+./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 {
clang-format -verbose -style=file -i $_
}
diff --git a/format.sh b/format.sh
index 2a9a39f94..47d21ee52 100755
--- a/format.sh
+++ b/format.sh
@@ -1,3 +1,3 @@
#!/bin/sh
cd $(dirname $0)
-./src.sh | grep -v CxCli.h | grep -iv dotnet | grep -v /tl-parser/ | xargs -n 1 clang-format -verbose -style=file -i
+./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