18 lines
508 B
Makefile
18 lines
508 B
Makefile
default:
|
|
echo "installing teambrains dev tools"
|
|
pip install mkdocs
|
|
pip install mkdocs-material
|
|
echo "installing teambrains git submodules"
|
|
# https://git-scm.com/book/en/v2/Git-Tools-Submodules
|
|
git submodule add git@github.com:cogiway/faq2_api.git
|
|
git submodule add git@github.com:cogiway/faq2_example.git
|
|
git submodule add git@github.com:cogiway/faq2_model.git
|
|
git submodule init
|
|
echo "checking requirements"
|
|
doc:
|
|
echo "build mkdoc"
|
|
mkdocs build doc
|
|
test:
|
|
echo "run php tests"
|
|
phpunit -c tests
|