mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-14 12:57:10 +02:00
.github
bin
module
vendor
CPR
CivetWeb
ConcurrentQueue
DPP
Fmt
MDBC
MaxmindDB
POCO
PUGIXML
SAJSON
SimpleIni
Squirrel
TinyDir
UTF8
ZMQ
RELICENSE
builds
abi-compliance-checker
android
cmake
Modules
Modules2
NSIS.template32.in
NSIS.template64.in
ZeroMQConfig.cmake.in
ci_build.sh
clang-format-check.sh.in
platform.hpp.in
coverage
cygwin
deprecated-msvc
fuzz
gyp
ios
mingw32
nuget
openwrt
qnx
valgrind
vxworks
zos
Makefile.am
README
doc
external
include
m4
packaging
perf
src
tests
tools
unittests
AUTHORS
CMakeLists.txt
COPYING
COPYING.LESSER
Dockerfile
Doxygen.cfg
INSTALL
Jenkinsfile
Makefile.am
NEWS
README.cygwin.md
README.doxygen.md
README.md
SECURITY.md
SupportedPlatforms.md
acinclude.m4
appveyor.yml
autogen.sh
branding.bmp
ci_build.sh
ci_deploy.sh
config.sh
configure.ac
installer.ico
version.sh
xxHash
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
15 lines
313 B
Bash
15 lines
313 B
Bash
#!/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
|