Update format.{sh,ps1}.

GitOrigin-RevId: 430f430ed7e6a8593d69e9ebab9526e115823330
This commit is contained in:
levlam 2018-02-28 02:12:15 +03:00
parent 6eadf472fe
commit afa9e61337
2 changed files with 3 additions and 4 deletions

View File

@ -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 $_
}
}

View 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