-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
47 lines (39 loc) · 903 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
42
43
44
45
46
47
# Top-Level Makefile
# Set the shell to bash with printing of all commands (`-x`) and unofficial
# strict mode (`-euo pipefail`).
SHELL := bash -x -euo pipefail
.PHONY: help
help:
@echo "Usage: make <target>"
@echo
@echo "Targets:"
@echo " help This help (default target)"
@echo " deps Install all dependencies"
@echo " format Format source code"
@echo " lint Run lint checks"
@echo " test Run tests"
@echo " ci Install dependencies, run lints and tests"
@echo " docs Generate the documentation"
.PHONY: deps
deps:
make -C backend deps
make -C frontend deps
.PHONY: format
format:
make -C backend format
make -C frontend format
.PHONY: lint
lint:
make -C backend lint
make -C frontend lint
.PHONY: test
test:
make -C backend test
make -C frontend test
.PHONY: ci
ci:
make -C backend ci
make -C frontend ci
.PHONY: docs
docs:
make -C backend docs