-
-
Notifications
You must be signed in to change notification settings - Fork 453
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (18 loc) · 606 Bytes
/
Makefile
File metadata and controls
20 lines (18 loc) · 606 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mkdocs-serve:
@if command -v mkdocs >/dev/null ; then \
mkdocs serve; \
else \
echo "mkdocs is not installed, see https://docs.openmage.org/developers/mkdocs/" && exit 2; \
fi; \
phpunit-serve:
@if test -f build/phpunit/coverage/index.html ; then \
xdg-open build/phpunit/coverage/index.html; \
else \
echo "phpunit coverage not found, run \"composer run phpunit:coverage-local\"" && exit 2; \
fi; \
phpmd-serve:
@if test -f build/phpmd/report.html ; then \
xdg-open build/phpmd/report.html; \
else \
echo "phpmd report not found, run \"composer run phpmd:test\"" && exit 2; \
fi; \