diff options
| -rw-r--r-- | format.ps1 | 5 | ||||
| -rwxr-xr-x | format.sh | 2 |
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 +} @@ -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 |
