-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (31 loc) · 1.36 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
34
35
36
37
38
39
40
41
42
43
44
45
46
.PHONY: build
PRICES_STATS_BACK_NAME := app-prices-stats
BACKOFFICE_BACK_NAME := app-backoffice
RABBITMQ_NAME := rabbitmq
.PHONY: up-app-prices-stats-backend
up-app-prices-stats-backend:
docker-compose up $(PRICES_STATS_BACK_NAME)-backend
.PHONY: watch-app-prices-stats-backend
watch-app-prices-stats-backend:
docker-compose exec $(PRICES_STATS_BACK_NAME)-backend yarn watch-app-prices-stats-backend
.PHONY: terminal-app-prices-stats-backend
terminal-app-prices-stats-backend:
@docker-compose exec $(PRICES_STATS_BACK_NAME)-backend bash
.PHONY: add-dep-prices-stats-backend
add-dep-prices-stats-backend:
@docker-compose exec $(PRICES_STATS_BACK_NAME)-backend yarn add $(package)
.PHONY: add-flow-type-prices-stats-backend
add-flow-type-prices-stats-backend:
@docker-compose exec $(PRICES_STATS_BACK_NAME)-backend yarn flow-typed install $(package) --typescript
.PHONY: create-stub-flow-type-prices-stats-backend
create-stub-flow-type-prices-stats-backend:
@docker-compose exec $(PRICES_STATS_BACK_NAME)-backend yarn flow-typed create-stub $(package)
.PHONY: up-backoffice-backend
up-backoffice-backend:
docker-compose up $(BACKOFFICE_BACK_NAME)-backend
.PHONY: terminal-backoffice-backend
terminal-backoffice-backend:
@docker-compose exec $(BACKOFFICE_BACK_NAME)-backend bash
.PHONY: terminal-rabbitmq
terminal-rabbitmq:
@docker-compose exec $(RABBITMQ_NAME) bash