This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 196196 </target >
197197
198198 <target name =" install-apigen" >
199- <exec executable =" ${ basedir } /apigen.sh" dir =" ${ basedir } " />
199+ <exec executable =" ${ basedir } /install- apigen.sh" dir =" ${ basedir } " />
200200 </target >
201201 <target name =" apigen"
202- depends =" prepare"
202+ depends =" prepare, install-apigen "
203203 description =" Generate project documentation using phpDocumentor" >
204204 <exec executable =" php" dir =" ${ basedir } /build/" failonerror =" true" >
205- <arg value =" ${ basedir } /vendor/bin/ apigen" />
205+ <arg value =" ${ basedir } /apigen.phar " />
206206 <arg value =" generate" />
207207 <arg value =" --source" />
208208 <arg path =" ${ basedir } /src" />
Original file line number Diff line number Diff line change 3232 "doctrine/cache" : " ~1.4" ,
3333 "monolog/monolog" : " ~1.12" ,
3434 "behat/behat" : " ~3.0" ,
35- "apigen/apigen" : " ~4.1" ,
3635 "phpunit/phpcov" : " *"
3736 },
3837 "suggest" : {
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ ! -e apigen.phar ]
4+ then
5+ wget http://apigen.org/apigen.phar
6+ fi
Original file line number Diff line number Diff line change 88
99# to be called as "after_success: - ./push-docs-to-gh-pages.sh" in .travis.yml
1010
11- if [ $( phpenv version-name) = " 5.4 " ] ; then ant apigen; fi
11+ if [ $( phpenv version-name) = " 5.5 " ] ; then ant apigen; fi
1212
13- if [ " $TRAVIS_REPO_SLUG " == " sphereio/sphere-php-sdk" ] && [ $( phpenv version-name) = " 5.4 " ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && ( [ " $TRAVIS_BRANCH " == " master" ] || [ " $TRAVIS_BRANCH " == ` git describe --tags --always HEAD` ] ); then
13+ if [ " $TRAVIS_REPO_SLUG " == " sphereio/sphere-php-sdk" ] && [ $( phpenv version-name) = " 5.5 " ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && ( [ " $TRAVIS_BRANCH " == " master" ] || [ " $TRAVIS_BRANCH " == ` git describe --tags --always HEAD` ] ); then
1414 echo -e " Publishing documentation to gh-pages branch ...\n"
1515
1616 cp -R build/docs $HOME /phpdoc-current
You can’t perform that action at this time.
0 commit comments