Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 38 lines (31 sloc) 0.756 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
# Twilio API helper library.
# See LICENSE file for copyright and license details.

define LICENSE
<?php

/**
 * Twilio API helper library.
 *
 * @category Services
 * @package Services_Twilio
 * @author Neuman Vong <neuman@twilio.com>
 * @license http://creativecommons.org/licenses/MIT/ MIT
 * @link http://pear.php.net/package/Services_Twilio
 */
endef
export LICENSE

all: test

clean:
@rm -rf dist

PHP_FILES = `find dist -name \*.php`
dist: clean
@mkdir dist
@git archive master | (cd dist; tar xf -)
@for php in $(PHP_FILES); do\
echo "$$LICENSE" > $$php.new; \
tail -n+2 $$php >> $$php.new; \
mv $$php.new $$php; \
done

test:
@echo running tests
@phpunit --configuration tests/phpunit.xml

.PHONY: all clean dist test
Something went wrong with that request. Please try again.