Add docs target and composer changes

parent 74d5c94d
.PHONY: test
test:
vendor/bin/phpunit
./vendor/bin/phpunit
.PHONY: docs
docs:
./vendor/bin/phpdoc --template=responsive-twig --defaultpackagename=PhpAmqpLib --title='php-amqplib' -d ./PhpAmqpLib -t ./docs
.PHONY: benchmark
benchmark:
@echo "Publishing 4000 msgs with 1KB of content:"
......@@ -9,4 +13,4 @@ benchmark:
@echo "Stream produce 100:"
php benchmark/stream_tmp_produce.php 100
@echo "Socket produce 100:"
php benchmark/socket_tmp_produce.php 100
\ No newline at end of file
php benchmark/socket_tmp_produce.php 100
......@@ -31,7 +31,8 @@
"require-dev": {
"phpunit/phpunit": "^4.8",
"scrutinizer/ocular": "^1.1",
"squizlabs/php_codesniffer": "^2.5"
"squizlabs/php_codesniffer": "^2.5",
"phpdocumentor/phpdocumentor": "^2.9"
},
"suggest": {
"ext-sockets": "Use AMQPSocketConnection"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment