From afa9e61337aec805bb595db5b32a6a7379e20907 Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 28 Feb 2018 02:12:15 +0300 Subject: [PATCH] Update format.{sh,ps1}. GitOrigin-RevId: 430f430ed7e6a8593d69e9ebab9526e115823330 --- format.ps1 | 5 ++--- format.sh | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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