From: Michael Wallner Date: Tue, 2 Jul 2013 20:03:50 +0000 (+0200) Subject: twilio report poc X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5735fce9818606a36ff3ebbbf902030bcd46c506;p=m6w6%2Fbtr twilio report poc --- diff --git a/lib/btr/report/twilio.mk b/lib/btr/report/twilio.mk new file mode 100644 index 0000000..e420833 --- /dev/null +++ b/lib/btr/report/twilio.mk @@ -0,0 +1,11 @@ +.PHONY: all +.SUFFIXES: + +all: + curl "https://api.twilio.com/2010-04-01/Accounts/$(TWILIO_ACCOUNT)/SMS/Messages.json" \ + --data-urlencode "From=$(TWILIO_NUMBER)" \ + --data-urlencode "To=$(REPORT_NUMBER)" \ + --data-urlencode "Body=[btr] $(BUILD) $(REPORT)" \ + -u $(TWILIO_ACCOUNT):$(TWILIO_TOKEN) + +# vim: noet