-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (34 loc) · 944 Bytes
/
Makefile
File metadata and controls
42 lines (34 loc) · 944 Bytes
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
build: node_modules
$(MAKE) -C hardhat $@
$(MAKE) -C contracts $@
$(MAKE) -C frontend $@
build-staging: node_modules
$(MAKE) -C hardhat build
$(MAKE) -C contracts build
$(MAKE) -C frontend build-staging
build-production: node_modules
$(MAKE) -C hardhat build
$(MAKE) -C contracts build
$(MAKE) -C frontend build-production
build-production-lido: node_modules
$(MAKE) -C hardhat build
$(MAKE) -C contracts build
$(MAKE) -C frontend build-production-lido
build-production-pontusx: node_modules
$(MAKE) -C hardhat build
$(MAKE) -C contracts build
$(MAKE) -C frontend build-production-pontusx
clean:
$(MAKE) -C hardhat $@
$(MAKE) -C contracts $@
$(MAKE) -C frontend $@
deploy: build
$(MAKE) -C hardhat deploy-testnet
$(MAKE) -C frontend $@
node_modules: $(wildcard */package.json)
pnpm install
veryclean: clean
$(MAKE) -C hardhat $@
$(MAKE) -C contracts $@
$(MAKE) -C frontend $@
rm -rf node_modules pnpm-lock.yaml