make check_format check version

-run Tools/fix_code_style.sh with no argument to check astyle version
This commit is contained in:
Daniel Agar
2016-04-17 16:20:51 -04:00
parent 9ad38cf393
commit 19c78f583a
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -9,6 +9,10 @@ if [ "$ASTYLE_VER" != "$ASTYLE_VER_REQUIRED" ]; then
exit 1
fi
if [[ $# -eq 0 ]] ; then
exit 0
fi
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
astyle \
--options=$DIR/astylerc \