Skip to content

Commit ab93118

Browse files
committed
added Makefile
1 parent 3ca8ce3 commit ab93118

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
/README.md export-ignore
2525

26+
/Makefile export-ignore
27+
2628
# Enforce checkout with linux lf consistent over all platforms
2729
*.html text eol=lf
2830
*.css text eol=lf

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
mkdocs-serve:
2+
@if command -v mkdocs >/dev/null ; then \
3+
mkdocs serve; \
4+
else \
5+
echo "mkdocs is not installed, see https://docs.openmage.org/developers/mkdocs/" && exit 2; \
6+
fi; \
7+
8+
phpunit-serve:
9+
@if test -f build/coverage/index.html ; then \
10+
xdg-open build/coverage/index.html; \
11+
else \
12+
echo "phpunit coverage not found, run \"composer run phpunit:coverage-local\"" && exit 2; \
13+
fi; \

0 commit comments

Comments
 (0)