-
Notifications
You must be signed in to change notification settings - Fork 498
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (29 loc) · 1.16 KB
/
Makefile
File metadata and controls
36 lines (29 loc) · 1.16 KB
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
.PHONY: dev test lint fresh audit
dev:
@echo "---Processing libs---"
@(cd $(CURDIR)/lib && make dev) || (echo "Failed to build libs"; exit 1)
@echo "---Processing clients---"
@(cd $(CURDIR)/client && make dev) || (echo "Failed to yarn clients"; exit 1)
test:
@echo "---Testing libs---"
@(cd $(CURDIR)/lib && make test) || (echo "Failed to test libs"; exit 1)
@echo "---Testing clients---"
@(cd $(CURDIR)/client && make test) || (echo "Failed to test clients"; exit 1)
@echo "---Testing server---"
@(cd $(CURDIR)/server && make test) || (echo "Failed to test server"; exit 1)
lint:
@echo "---Linting libs---"
@(cd $(CURDIR)/lib && make lint) || (echo "Failed to lint libs"; exit 1)
@echo "---Linting clients---"
@(cd $(CURDIR)/client && make lint) || (echo "Failed to lint clients"; exit 1)
fresh:
@echo "---Fresh---"
@(cd $(CURDIR)/lib && make fresh) || (echo "Failed to fresh libs"; exit 1)
@echo "---Fresh clients---"
@(cd $(CURDIR)/client && make fresh) || (echo "Failed to fresh clients"; exit 1)
audit:
@echo "---Audit---"
@(cd $(CURDIR)/lib && make audit) || true
@echo "---Audit clients---"
@(cd $(CURDIR)/client && make audit) || true
.DEFAULT_GOAL := dev