mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2026-10-18 00:23:27 +00:00
build: fix building with clang
This commit is contained in:
3 files changed
+38
-2
No files matched your search
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Go to repository root
|
||||
cd "$(dirname "$0")/.." || exit 2
|
||||
|
||||
CLANG_FORMAT_BIN="${CLANG_FORMAT_BIN:-clang-format}"
|
||||
|
||||
find ./src -iname '*.hpp' -o -iname '*.cpp' | xargs $CLANG_FORMAT_BIN -Werror -ferror-limit=1 --dry-run
|
||||
Reference in new issue
Block a user