From 081cfc8457f05e18b9f6fe8f2c5a029850fcdb06 Mon Sep 17 00:00:00 2001 From: Chris Boden Date: Thu, 12 Jul 2012 14:26:32 -0400 Subject: [PATCH] Makefile Added makefile to make running common tasks easier --- .gitignore | 1 - Makefile | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 9cfc406..e6287e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ phpunit.xml reports -docs sandbox vendor diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ccf7a4b --- /dev/null +++ b/Makefile @@ -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