Exclude thirdparty scripts from clang-format checks.
This commit is contained in:
parent
1795d04081
commit
e676500f7f
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue