notify-send
authorMichael Wallner <mike@php.net>
Sun, 30 Jun 2013 20:36:55 +0000 (22:36 +0200)
committerMichael Wallner <mike@php.net>
Sun, 30 Jun 2013 20:36:55 +0000 (22:36 +0200)
lib/btr/btr.sh
lib/btr/report/notify-send.mk [new file with mode: 0644]

index e8bc4c1194ae3b4947519c092dc2a2cf9b58da01..2bc8e3ef90256d9af55da7475e542a114d35eaf1 100755 (executable)
@@ -92,7 +92,7 @@ function parseopts {
                                ;;
                        -r|--report)
                                case "$2" in
-                                       mail)
+                                       *)
                                                REPORT_RULES="$2"
                                                ;;
                                esac
diff --git a/lib/btr/report/notify-send.mk b/lib/btr/report/notify-send.mk
new file mode 100644 (file)
index 0000000..f4c5197
--- /dev/null
@@ -0,0 +1,7 @@
+.PHONY: all
+.SUFFIXES:
+
+all: 
+       notify-send "[btr] $(BUILD) $(REPORT)"
+
+# vim: noet