X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fbtr;a=blobdiff_plain;f=lib%2Fbtr%2Freport%2Fnotify-send.mk;h=cfc20ccb27d3a8fd2ebd34cc1822de9cc87131a7;hp=f4c5197610b79cc253707efd2d3f9113226e6fd1;hb=f5fd15396636986e7447993a66b8a4084a93dabb;hpb=5735fce9818606a36ff3ebbbf902030bcd46c506 diff --git a/lib/btr/report/notify-send.mk b/lib/btr/report/notify-send.mk index f4c5197..cfc20cc 100644 --- a/lib/btr/report/notify-send.mk +++ b/lib/btr/report/notify-send.mk @@ -2,6 +2,11 @@ .SUFFIXES: all: - notify-send "[btr] $(BUILD) $(REPORT)" + $(SAY) "Notifying $(USER) about the report" + CONFIG_URL=$$(curl -sSF sprunge="@$(CONFIG_REPORT)" sprunge.us); \ + BUILD_URL=$$(curl -sSF sprunge="@$(BUILD_REPORT)" sprunge.us); \ + TEST_URL=$$(curl -sSF sprunge="@$(TEST_REPORT)" sprunge.us); \ + notify-send $(REPORT_ARGS) "[btr] $(BUILD) $$(cat $(REPORT))" \ + "Config: $$CONFIG_URL -- Build: $$BUILD_URL -- Test:$$TEST_URL"; # vim: noet