Exclude thirdparty scripts from clang-format checks.

This commit is contained in:
Aaron van Geffen 2020-03-15 13:58:22 +01:00
parent 1795d04081
commit e676500f7f
2 changed files with 9 additions and 1 deletions

View File

@ -13,4 +13,4 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Run clang-format
run: scripts/run-clang-format.py -r src
run: scripts/check-code-formatting.sh

View File

@ -0,0 +1,8 @@
#!/bin/sh
set -e
# Ensure we are in root directory
basedir="$(readlink -f `dirname $0`/..)"
cd $basedir
scripts/run-clang-format.py -r src --exclude src/openloco/thirdparty