aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--format.ps15
-rwxr-xr-xformat.sh2
2 files changed, 3 insertions, 4 deletions
diff --git a/format.ps1 b/format.ps1
index 2de1f6578..f64296cc3 100644
--- a/format.ps1
+++ b/format.ps1
@@ -1,4 +1,3 @@
-./src.ps1 | ForEach-Object {
- echo $_
+./src.ps1 | Select-String -NotMatch "CxCli.h" | Select-String -NotMatch "dotnet" | ForEach-Object {
clang-format -verbose -style=file -i $_
-} \ No newline at end of file
+}
diff --git a/format.sh b/format.sh
index 6788af57a..64280e338 100755
--- a/format.sh
+++ b/format.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-./src.sh | grep -v CxCli.h | xargs -n 1 clang-format -verbose -style=file -i
+./src.sh | grep -v CxCli.h | grep -iv dotnet | xargs -n 1 clang-format -verbose -style=file -i