-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmakefile
More file actions
48 lines (38 loc) · 1.08 KB
/
makefile
File metadata and controls
48 lines (38 loc) · 1.08 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
install: submodules
yarn install
.PHONY: install
submodules:
# CI will checkout submodules on its own (and fails on these commands)
if [ -z "$$GITHUB_ENV" ]; then \
git submodule init; \
git submodule update; \
fi
.PHONY: submodules
devnet-up:
make -C ./ticking-optimism devnet-up
.PHONY: devnet-up
devnet-down:
make -C ./ticking-optimism devnet-down
.PHONY: devnet-down
devnet-clean-state:
rm -rf ./ticking-optimism/packages/contracts-bedrock/deployments/devnetL1
rm -rf ./ticking-optimism/.devnet
cd ./ticking-optimism/ops-bedrock && docker-compose down
docker volume ls --filter name=ops-bedrock --format='{{.Name}}' | xargs -r docker volume rm
.PHONY: devnet-clean-state
build: install build-contracts build-client
.PHONY: build
build-contracts:
yarn workspace contracts build
.PHONY: build-contracts
build-client:
yarn workspace client build
.PHONY: build-client
start: start-contracts start-client
.PHONY: start
start-contracts:
yarn workspace contracts deploy:tick
.PHONY: start-contracts
start-client: build-contracts
yarn workspace client start
.PHONY: start-client