forked from minos-framework/minos-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (22 loc) · 1.45 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: install docs
DOCS_TARGET := ./docs/api-reference/packages
install:
poetry install
docs:
mkdir -p $(DOCS_TARGET)/core
mkdir -p $(DOCS_TARGET)/plugins
$(MAKE) --directory=packages/core/minos-microservice-aggregate install docs
cp -R packages/core/minos-microservice-aggregate/docs/_build/html $(DOCS_TARGET)/core/minos-microservice-aggregate
$(MAKE) --directory=packages/core/minos-microservice-common install docs
cp -R packages/core/minos-microservice-common/docs/_build/html $(DOCS_TARGET)/core/minos-microservice-common
$(MAKE) --directory=packages/core/minos-microservice-cqrs install docs
cp -R packages/core/minos-microservice-cqrs/docs/_build/html $(DOCS_TARGET)/core/minos-microservice-cqrs
$(MAKE) --directory=packages/core/minos-microservice-networks install docs
cp -R packages/core/minos-microservice-networks/docs/_build/html $(DOCS_TARGET)/core/minos-microservice-networks
$(MAKE) --directory=packages/core/minos-microservice-saga install docs
cp -R packages/core/minos-microservice-saga/docs/_build/html $(DOCS_TARGET)/core/minos-microservice-saga
$(MAKE) --directory=packages/plugins/minos-broker-kafka install docs
cp -R packages/plugins/minos-broker-kafka/docs/_build/html $(DOCS_TARGET)/plugins/minos-broker-kafka
$(MAKE) --directory=packages/plugins/minos-discovery-minos install docs
cp -R packages/plugins/minos-discovery-minos/docs/_build/html $(DOCS_TARGET)/plugins/minos-discovery-minos
poetry run $(MAKE) --directory=docs html