ci: sr.ht: notify gitter
[awesomized/libmemcached] / .builds / scripts / maybe
diff --git a/.builds/scripts/maybe b/.builds/scripts/maybe
new file mode 100755 (executable)
index 0000000..0a5b661
--- /dev/null
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+if test $# -eq 0
+then
+       notify-gitter success
+fi
+
+"$@"
+ERROR=$?
+
+if test $ERROR -ne 0
+then
+       notify-gitter failure
+       exit $ERROR
+fi