From 93a92b27fc5ca2ed681f8889d3d7873689372e6f Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 4 Jul 2021 06:04:13 +0300 Subject: [PATCH] Skip formatting of tl-parser sources. --- format.ps1 | 2 +- format.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/format.ps1 b/format.ps1 index 3f482557c..a1079a34c 100644 --- a/format.ps1 +++ b/format.ps1 @@ -1,3 +1,3 @@ -./src.ps1 | Select-String -NotMatch "CxCli.h" | Select-String -NotMatch "DotNet" | ForEach-Object { +./src.ps1 | Select-String -NotMatch "CxCli.h" | Select-String -NotMatch "DotNet" | Select-String -NotMatch "/tl-parser/" | ForEach-Object { clang-format -verbose -style=file -i $_ } diff --git a/format.sh b/format.sh index 64280e338..c33dabb5a 100755 --- a/format.sh +++ b/format.sh @@ -1,2 +1,2 @@ #!/bin/sh -./src.sh | grep -v CxCli.h | grep -iv dotnet | xargs -n 1 clang-format -verbose -style=file -i +./src.sh | grep -v CxCli.h | grep -iv dotnet | grep -v /tl-parser/ | xargs -n 1 clang-format -verbose -style=file -i