Skip to content

Commit

Permalink
Revert to using composer to install apigen for doc generation (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
childish-sambino authored Sep 18, 2019
1 parent ab9c466 commit 8cac3ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ test: install
@PATH=vendor/bin:$(PATH) phpunit --strict-coverage --disallow-test-output --colors --configuration tests/phpunit.xml

docs-install:
curl "https://github.com/ApiGen/ApiGen/releases/download/v4.1.2/apigen.phar" --create-dirs -L -o bin/apigen
composer require --dev apigen/apigen

docs: docs-install
bin/apigen generate -s ./ -d docs/api --exclude="Tests/*" --exclude="vendor/*" --exclude="autoload.php" --template-theme bootstrap --main Twilio
vendor/bin/apigen generate --source src -d docs/api --exclude="autoload.php" --template-theme bootstrap --main Twilio

authors:
echo "Authors\n=======\n\nA huge thanks to all of our contributors:\n\n" > AUTHORS.md
Expand Down

0 comments on commit 8cac3ee

Please sign in to comment.