diff --git a/format.ps1 b/format.ps1 index 2de1f657..f64296cc 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 6788af57..64280e33 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