Skip to content

Commit

Permalink
Update format.{sh,ps1}.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 430f430ed7e6a8593d69e9ebab9526e115823330
  • Loading branch information
levlam committed Feb 27, 2018
1 parent 6eadf47 commit afa9e61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions format.ps1
Original file line number Diff line number Diff line change
@@ -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 $_
}
}
2 changes: 1 addition & 1 deletion format.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit afa9e61

Please sign in to comment.