From 5735fce9818606a36ff3ebbbf902030bcd46c506 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 2 Jul 2013 22:03:50 +0200 Subject: [PATCH] twilio report poc --- lib/btr/report/twilio.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/btr/report/twilio.mk 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 -- 2.30.2