flush
[m6w6/btr] / lib / btr / report / notify-send.mk
1 .PHONY: all
2 .SUFFIXES:
3
4 all:
5 $(SAY) "Notifying $(USER) about the report"
6 CONFIG_URL=$$(curl -sSF sprunge="@$(CONFIG_REPORT)" sprunge.us); \
7 BUILD_URL=$$(curl -sSF sprunge="@$(BUILD_REPORT)" sprunge.us); \
8 TEST_URL=$$(curl -sSF sprunge="@$(TEST_REPORT)" sprunge.us); \
9 notify-send $(REPORT_ARGS) "[btr] $(BUILD) $$(cat $(REPORT))" \
10 "Config: $$CONFIG_URL -- Build: $$BUILD_URL -- Test:$$TEST_URL";
11
12 # vim: noet