projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
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
+++ b/
.builds/scripts/maybe
@@ -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