-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (29 loc) · 798 Bytes
/
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
.phony: build
start:
- docker compose up $(ARGS)
start-frontend:
- make start ARGS=frontend
start-backend:
- make start ARGS=backend
test-frontend:
- docker compose run --rm frontend npm run test:frontend $(ARGS)
test-backend:
- make e2e-test-backend
- make unit-test-backend
unit-test-backend:
- docker compose run --rm backend npm run test:backend:unit $(ARGS)
e2e-test-backend:
- docker compose run --rm backend npm run test:backend:e2e $(ARGS)
unit-test-all:
- make unit-test-backend
e2e-test-all:
- make e2e-test-backend
test-all:
- make test-frontend
- make e2e-test-backend
- make unit-test-backend
stop:
- docker compose down
install-dependencies-local:
- npm install ./app/frontend/ --prefix ./app/frontend/
- npm install ./app/backend/ --prefix ./app/backend/