File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- .PHONY : apigen compser test docs mkdocs
1+ .PHONY : apigen composer test docs mkdocs
22
33PHONGO_LIB_VERSION =` php -r ' require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";' `
44COMPOSER_ARGS =update --no-interaction --prefer-source
@@ -32,8 +32,8 @@ apigen:
3232 @command -v apigen > /dev/null 2>&1 ; \
3333 if test $$ ? -eq 0; then \
3434 apigen generate
35- elif test -r phpunit .phar; then \
36- php apigen generate \
35+ elif test -r apigen .phar; then \
36+ php apigen.phar generate \
3737 else \
3838 echo " Cannot find apigen :(" ; \
3939 echo " Aborting." ; \
@@ -45,7 +45,7 @@ mkdocs:
4545 if test $$ ? -eq 0; then \
4646 mkdocs build --clean \
4747 else \
48- echo "Cannot find apigen :("; \
48+ echo "Cannot find mkdocs :("; \
4949 echo "Aborting."; \
5050 exit 1; \
5151 fi
@@ -62,7 +62,7 @@ release: test RELEASE
6262 @echo " " git tag -a -m \" Release phongo-library $(PHONGO_LIB_VERSION ) \" $(PHONGO_LIB_VERSION )
6363 @echo " " git push --tags
6464 @echo " " make release-docs
65- @echo " And don't forget to pump version in src/Collection.php"
65+ @echo " And don't forget to bump version in src/Collection.php"
6666
6767docs :
6868 mkdocs build --clean
You can’t perform that action at this time.
0 commit comments