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
2
2
3
3
PHONGO_LIB_VERSION =` php -r ' require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";' `
4
4
COMPOSER_ARGS =update --no-interaction --prefer-source
@@ -32,8 +32,8 @@ apigen:
32
32
@command -v apigen > /dev/null 2>&1 ; \
33
33
if test $$ ? -eq 0; then \
34
34
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 \
37
37
else \
38
38
echo " Cannot find apigen :(" ; \
39
39
echo " Aborting." ; \
@@ -45,7 +45,7 @@ mkdocs:
45
45
if test $$ ? -eq 0; then \
46
46
mkdocs build --clean \
47
47
else \
48
- echo "Cannot find apigen :("; \
48
+ echo "Cannot find mkdocs :("; \
49
49
echo "Aborting."; \
50
50
exit 1; \
51
51
fi
@@ -62,7 +62,7 @@ release: test RELEASE
62
62
@echo " " git tag -a -m \" Release phongo-library $(PHONGO_LIB_VERSION ) \" $(PHONGO_LIB_VERSION )
63
63
@echo " " git push --tags
64
64
@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"
66
66
67
67
docs :
68
68
mkdocs build --clean
You can’t perform that action at this time.
0 commit comments