mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-27 04:27:11 +02:00
Initial ZMQ bindings.
This commit is contained in:
14
vendor/ZMQ/builds/cmake/clang-format-check.sh.in
vendored
Normal file
14
vendor/ZMQ/builds/cmake/clang-format-check.sh.in
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
FAILED=0
|
||||
IFS=";"
|
||||
FILES="@ALL_SOURCE_FILES@"
|
||||
IDS=$(echo -en "\n\b")
|
||||
for FILE in $FILES
|
||||
do
|
||||
@CLANG_FORMAT@ -style=file -output-replacements-xml "$FILE" | grep "<replacement " >/dev/null &&
|
||||
{
|
||||
echo "$FILE is not correctly formatted"
|
||||
FAILED=1
|
||||
}
|
||||
done
|
||||
if [ "$FAILED" -eq "1" ] ; then exit 1 ; fi
|
Reference in New Issue
Block a user