Commit dc43d074 authored by Jeremy Mikola's avatar Jeremy Mikola

Fix typos in Makefile

parent e23eb745
.PHONY: apigen compser test docs mkdocs .PHONY: apigen composer test docs mkdocs
PHONGO_LIB_VERSION=`php -r 'require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";'` PHONGO_LIB_VERSION=`php -r 'require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";'`
COMPOSER_ARGS=update --no-interaction --prefer-source COMPOSER_ARGS=update --no-interaction --prefer-source
...@@ -32,8 +32,8 @@ apigen: ...@@ -32,8 +32,8 @@ apigen:
@command -v apigen >/dev/null 2>&1; \ @command -v apigen >/dev/null 2>&1; \
if test $$? -eq 0; then \ if test $$? -eq 0; then \
apigen generate apigen generate
elif test -r phpunit.phar; then \ elif test -r apigen.phar; then \
php apigen generate \ php apigen.phar generate \
else \ else \
echo "Cannot find apigen :("; \ echo "Cannot find apigen :("; \
echo "Aborting."; \ echo "Aborting."; \
...@@ -45,7 +45,7 @@ mkdocs: ...@@ -45,7 +45,7 @@ mkdocs:
if test $$? -eq 0; then \ if test $$? -eq 0; then \
mkdocs build --clean \ mkdocs build --clean \
else \ else \
echo "Cannot find apigen :("; \ echo "Cannot find mkdocs :("; \
echo "Aborting."; \ echo "Aborting."; \
exit 1; \ exit 1; \
fi fi
...@@ -62,7 +62,7 @@ release: test RELEASE ...@@ -62,7 +62,7 @@ release: test RELEASE
@echo " " git tag -a -m \"Release phongo-library $(PHONGO_LIB_VERSION)\" $(PHONGO_LIB_VERSION) @echo " " git tag -a -m \"Release phongo-library $(PHONGO_LIB_VERSION)\" $(PHONGO_LIB_VERSION)
@echo " " git push --tags @echo " " git push --tags
@echo " " make release-docs @echo " " make release-docs
@echo "And don't forget to pump version in src/Collection.php" @echo "And don't forget to bump version in src/Collection.php"
docs: docs:
mkdocs build --clean mkdocs build --clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment