CI/Circle CI: Add codestyle check

Tabs are not allowed, use 4 spaces instead
This commit is contained in:
jackpoz
2020-04-05 15:32:53 +02:00
parent caae3886d2
commit 5f29577f63

View File

@@ -4,7 +4,11 @@ set -e
echo "Codestyle check script:"
echo
singleLineRegexChecks=("TC_LOG_.+GetCounter" "[[:blank:]]$")
singleLineRegexChecks=(
"TC_LOG_.+GetCounter"
"[[:blank:]]$"
"\t"
)
for check in ${singleLineRegexChecks[@]}; do
echo " Checking RegEx: '${check}'"
@@ -13,7 +17,9 @@ for check in ${singleLineRegexChecks[@]}; do
fi
done
multiLineRegexChecks=("TC_LOG_[^;]+GetCounter")
multiLineRegexChecks=(
"TC_LOG_[^;]+GetCounter"
)
for check in ${multiLineRegexChecks[@]}; do
echo " Checking RegEx: '${check}'"