We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a72bed commit 8b8ea6fCopy full SHA for 8b8ea6f
1 file changed
runastyle
@@ -1,5 +1,13 @@
1
#!/bin/bash
2
+# The version check in this script is used to avoid commit battles
3
+# between different developers that use different astyle versions as
4
+# different versions might have different output (this has happened in
5
+# the past).
6
+
7
+# If project management wishes to take a newer astyle version into use
8
+# just change this string to match astyle version string.
9
ASTYLE_VERSION="Artistic Style Version 2.01"
10
11
if [ "`astyle --version 2>&1`" != "${ASTYLE_VERSION}" ]; then
12
echo "You should use: ${ASTYLE_VERSION}";
13
exit 1;
0 commit comments