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 dd2e5c1 commit 8faf272Copy full SHA for 8faf272
1 file changed
bin/mkrelease
@@ -66,6 +66,10 @@ function note() {
66
if [ -n "$VERBOSE" ]; then echo -e "\n$*"; fi
67
}
68
69
+function check() {
70
+ [ "$(which $1)" ] || die "could not find the '$1' command. $2"
71
+}
72
+
73
# ----------------------------------------------------------------------
74
function version() {
75
echo -e "$program $version"
@@ -119,6 +123,11 @@ while true ; do
119
123
shift
120
124
done
121
125
126
+# ----------------------------------------------------------------------
127
+# Check some requirements
128
129
+check bower "It is required to update web resources. Install with npm."
130
122
131
132
# The program itself
133
0 commit comments