20 lines
538 B
Makefile
Executable File
20 lines
538 B
Makefile
Executable File
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
|
|
docker:
|
|
docker-compose up -d
|