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