-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (39 loc) · 1.07 KB
/
Makefile
File metadata and controls
52 lines (39 loc) · 1.07 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
SHELL := /bin/bash
.PHONY: dev dev-deps down test lint typecheck docs release-check audit audit-fix
dev-deps:
npm --prefix signaling ci
npm --prefix media ci
npm --prefix webapp ci
dev:
docker compose -f containerization/docker-compose.yml up --build webapp signaling ingress egress
down:
docker compose -f containerization/docker-compose.yml down
test:
cd signaling && npm run test:all
cd media && npm run test
lint:
cd signaling && npm run lint
cd media && npm run lint
cd webapp && npm run lint
typecheck:
cd signaling && npm run typecheck
cd media && npm run typecheck
cd webapp && npm run typecheck
docs:
cd signaling && npm run docs
cd media && npm run docs
cd webapp && npm run docs
release-check:
$(MAKE) lint
$(MAKE) typecheck
$(MAKE) test
audit:
@echo "Running npm audit for signaling/media/webapp..."
npm --prefix signaling audit
npm --prefix media audit
npm --prefix webapp audit
audit-fix:
@echo "Running npm audit fix for signaling/media/webapp..."
npm --prefix signaling audit fix
npm --prefix media audit fix
npm --prefix webapp audit fix