Added makefile to make running common tasks easier
This commit is contained in:
Chris Boden 2012-07-12 14:26:32 -04:00
parent c15c324424
commit 081cfc8457
2 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
phpunit.xml phpunit.xml
reports reports
docs
sandbox sandbox
vendor vendor

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
unittests:
phpunit --coverage-text --coverage-html=reports/coverage
abtests:
ulimit -n 2048
php tests/ab-wstest-libevent.php &
php tests/ab-wstest-stream.php &
cd tests && wstest -m fuzzingclient -s ab-wstest-fuzzyconf.json
killall php
echo
apidocs:
apigen -s src/ -s vendor/ --title Ratchet -d reports/api