Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (33 sloc) 0.89 kb
a70086a Neuman Vong make test to replace run_tests.sh
luciferous authored
1 # Twilio API helper library.
2 # See LICENSE file for copyright and license details.
3
6e102c0 Neuman Vong Add license header during make dist
luciferous authored
4 define LICENSE
5 <?php
a70086a Neuman Vong make test to replace run_tests.sh
luciferous authored
6
6e102c0 Neuman Vong Add license header during make dist
luciferous authored
7 /**
8 * Twilio API helper library.
9 *
10 * @category Services
11 * @package Services_Twilio
12 * @author Neuman Vong <neuman@twilio.com>
13 * @license http://creativecommons.org/licenses/MIT/ MIT
14 * @link http://pear.php.net/package/Services_Twilio
15 */
16 endef
17 export LICENSE
18
19 all: test
20
21 clean:
22 @rm -rf dist
23
24 PHP_FILES = `find dist -name \*.php`
25 dist: clean
26 @mkdir dist
27 @git archive master | (cd dist; tar xf -)
28 @for php in $(PHP_FILES); do\
29 echo "$$LICENSE" > $$php.new; \
30 tail -n+2 $$php >> $$php.new; \
31 mv $$php.new $$php; \
32 done
a70086a Neuman Vong make test to replace run_tests.sh
luciferous authored
33
3c8fbd0 document location of test running error instructions
Kevin Burke authored
34 # if these fail, you may need to install the helper libraries - see "Running
35 # Tests" at http://readthedocs.org/projects/twilio-php/.
a70086a Neuman Vong make test to replace run_tests.sh
luciferous authored
36 test:
37 @echo running tests
38 @phpunit --configuration tests/phpunit.xml
39
6e102c0 Neuman Vong Add license header during make dist
luciferous authored
40 .PHONY: all clean dist test
Something went wrong with that request. Please try again.