Skip to content

Commit 996e66e

Browse files
committed
Add "make help" since I always forget the names
1 parent 9f5be09 commit 996e66e

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

Makefile.frag

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,33 @@ LIB_PATH=vendor/mongodb/mongodb
77
COMPOSER_ARGS=update --no-interaction --prefer-source
88
PHPUNIT_ARGS=--process-isolation
99

10+
help:
11+
@echo -e "\t$$ make vm"
12+
@echo -e "\t - Launches VMs for running multiple MongoDB variations"
13+
@echo -e "\t$$ make list-servers"
14+
@echo -e "\t - Lists running servers, and their URIs"
15+
@echo -e "\t$$ make test-bootstrap"
16+
@echo -e "\t - Starts up MongoDB through mongo-orchestration"
17+
18+
@echo ""
19+
@echo -e "\t$$ make coveralls"
20+
@echo -e "\t - Creates code coverage report using coveralls"
21+
@echo -e "\t$$ make coverage"
22+
@echo -e "\t - Creates code coverage report using gcov"
23+
24+
@echo ""
25+
@echo -e "\t$$ make composer"
26+
@echo -e "\t - Installs test dependencies using composer"
27+
28+
@echo ""
29+
@echo -e "\t$$ make patch"
30+
@echo -e "\t - When building phongo from VCS, you must run this once"
31+
32+
@echo ""
33+
@echo -e "\t$$ make release"
34+
@echo -e "\t - Runs the tests and creates the pecl archive on success"
35+
36+
1037
mv-coverage:
1138
@if test -e $(top_srcdir)/coverage; then \
1239
echo "Moving previous coverage run to coverage-$(DATE)"; \
@@ -46,7 +73,7 @@ composer:
4673

4774
vm:
4875
@command -v vagrant >/dev/null 2>&1 || { echo >&2 "Vagrant needs to be installed to run vms"; exit 1; }
49-
@vagrant up
76+
@vagrant up ldap mo
5077

5178
list-servers:
5279
php scripts/list-servers.php

0 commit comments

Comments
 (0)