Use apigen from composer

This commit is contained in:
Gregory Oschwald 2014-07-22 09:30:20 -07:00
parent 1925936b26
commit 13fbcae21c
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if [ -n "$(git status --porcelain)" ]; then
exit 1 exit 1
fi fi
apigen --quiet --download --title "GeoIP2 PHP API $TAG" --source ../src --destination doc/$TAG ../vendor/bin/apigen.php --quiet --download --title "GeoIP2 PHP API $TAG" --source ../src --destination doc/$TAG
PAGE=index.md PAGE=index.md
cat <<EOF > $PAGE cat <<EOF > $PAGE

View File

@ -18,6 +18,7 @@
"php": ">=5.3.1" "php": ">=5.3.1"
}, },
"require-dev": { "require-dev": {
"apigen/apigen": "~2.8.0",
"phpunit/phpunit": "4.1.*", "phpunit/phpunit": "4.1.*",
"satooshi/php-coveralls": "dev-master" "satooshi/php-coveralls": "dev-master"
}, },