We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0058ef6 commit a150f0bCopy full SHA for a150f0b
scripts/style.sh
@@ -24,6 +24,9 @@
24
# Commonly
25
# ./scripts/style.sh master
26
27
+# Fail the script if any command fails
28
+set -e
29
+
30
# Strip the clang-format version output down to the major version. Examples:
31
# clang-format version 7.0.0 (tags/google/stable/2018-01-11)
32
# clang-format version google3-trunk (trunk r333779)
@@ -63,6 +66,11 @@ esac
63
66
# /usr/local.
64
67
export MINT_PATH=Mint
65
68
69
+if ! which mint >/dev/null 2>&1; then
70
+ echo "mint is not available, install with 'brew install mint'"
71
+ exit 1
72
+fi
73
74
system=$(uname -s)
75
76
# Joins the given arguments with the separator given as the first argument.
0 commit comments