-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (33 loc) · 1.12 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: install-frontend install-backend lint-frontend lint-backend fix-frontend fix-backend \
build-frontend build-backend test-frontend test-backend \
install lint lint-fix build test
install: install-frontend install-backend
run: run-frontend run-backend
lint: lint-frontend lint-backend
lint-fix: fix-frontend fix-backend
build: build-frontend build-backend
test: test-frontend test-backend
install-frontend:
@cd spacelift && yarn
install-backend:
@cd spacelift-backend && yarn
lint-frontend:
@cd spacelift && yarn prettier:check
lint-backend:
@cd spacelift-backend && yarn prettier:check
fix-frontend:
@cd spacelift && yarn prettier:fix
fix-backend:
@cd spacelift-backend && yarn prettier:fix
build-frontend:
@cd spacelift && yarn tsc && yarn build && yarn prepublishOnly
build-backend:
@cd spacelift-backend && yarn tsc && yarn build && yarn prepublishOnly
run-frontend:
@cd spacelift && yarn start
run-backend:
@cd spacelift-backend && yarn start
test-frontend:
@cd spacelift && CI=true yarn test
test-backend:
@cd spacelift-backend && CI=true yarn test