projects
/
m6w6
/
btr
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
02e924b
)
twilio report poc
author
Michael Wallner
<mike@php.net>
Tue, 2 Jul 2013 20:03:50 +0000
(22:03 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 2 Jul 2013 20:03:50 +0000
(22:03 +0200)
lib/btr/report/twilio.mk
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/btr/report/twilio.mk
b/lib/btr/report/twilio.mk
new file mode 100644
(file)
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