Add some comments to runastyle script
This commit is contained in:
parent
5a72bed064
commit
8b8ea6fcbf
|
@ -1,5 +1,13 @@
|
|||
#!/bin/bash
|
||||
# The version check in this script is used to avoid commit battles
|
||||
# between different developers that use different astyle versions as
|
||||
# different versions might have different output (this has happened in
|
||||
# the past).
|
||||
|
||||
# If project management wishes to take a newer astyle version into use
|
||||
# just change this string to match astyle version string.
|
||||
ASTYLE_VERSION="Artistic Style Version 2.01"
|
||||
|
||||
if [ "`astyle --version 2>&1`" != "${ASTYLE_VERSION}" ]; then
|
||||
echo "You should use: ${ASTYLE_VERSION}";
|
||||
exit 1;
|
||||
|
|
Loading…
Reference in New Issue