From fb60208c8824c705ed140274638cf0e8fe1faa92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Mon, 31 Aug 2020 16:15:43 +0200 Subject: [PATCH] Print diff to know the format problems --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5da592ce..a0c6ddab 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,6 +24,7 @@ jobs: - script: | cd $(Build.SourcesDirectory) find . \( -name '*.h' -or -name '*.cpp' -or -name '*.c' -or -name '*.mm' -or -name '*.m' \) -print0 | xargs -0 clang-format -style=file -i + git diff $(Build.SourceVersion) if [ "$(git diff $(Build.SourceVersion))" != "" ]; then exit 1; fi displayName: 'clang-format' - job: Linux