From 08c0d62c8adf19493a8610ca5c154ef6bb2d9e4a Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 16 Feb 2023 20:03:37 +0100 Subject: [PATCH] Exclude source/utils/json.hpp when formatting --- .github/workflows/ci.yml | 2 +- .github/workflows/pr.yml | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f0695f..cb33a83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - name: clang-format run: | - docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source --exclude ./source/elfio + docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source --exclude ./source/elfio --exclude ./source/utils/json.hpp build-binary: runs-on: ubuntu-22.04 needs: clang-format diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8a90481..90c0d25 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - name: clang-format run: | - docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source --exclude ./source/elfio + docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source --exclude ./source/elfio --exclude ./source/utils/json.hpp check-build-with-logging: runs-on: ubuntu-22.04 needs: clang-format diff --git a/README.md b/README.md index 00b9991..d53fce6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ docker run -it --rm -v ${PWD}:/project wiiupluginloaderbackend-builder make clea ## Format the code via docker -`docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source --exclude ./source/elfio -i` +`docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source --exclude ./source/elfio --exclude ./source/utils/json.hpp -i` # Credits - Maschell