teambrain/Makefile

18 lines
508 B
Makefile
Raw Normal View History

2023-08-28 12:54:38 +02:00
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