mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
Format files in-place so the changes can be viewed with git diff
This commit is contained in:
@@ -16,4 +16,5 @@ fi
|
||||
basedir="$($readlink_bin -f `dirname $0`/..)"
|
||||
cd $basedir
|
||||
|
||||
scripts/run-clang-format.py --clang-format-executable /usr/lib/llvm20/bin/clang-format -r src test data/shaders --exclude src/thirdparty --extensions "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx,vert,frag,mm"
|
||||
scripts/run-clang-format.py -i --clang-format-executable /usr/lib/llvm20/bin/clang-format -r src test data/shaders --exclude src/thirdparty --extensions "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx,vert,frag,mm"
|
||||
git diff --exit-code
|
||||
|
||||
Reference in New Issue
Block a user