-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (24 loc) · 875 Bytes
/
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
#!/usr/bin/make -f
COMPOSE := $(shell command -v docker-compose 2> /dev/null || echo "docker compose")
build-mainnet-snapshot-image:
@docker buildx build --load -t neutron-mainnet-snapshot -f Dockerfile.snapshot .
build-mainnet-fork-image:
@docker buildx build --load --no-cache -t neutron-mainnet-fork .
create-mainnet-snapshot:
@mkdir -p ./snapshot
@chmod 0777 ./snapshot
@$(COMPOSE) up neutron-snapshot
start-mainnet-fork:
@mkdir -p ./snapshot
@chmod 0777 ./snapshot
@$(COMPOSE) up neutron-fork -d
stop-mainnet-snapshot:
@docker stop neutron-mainnet-snapshot
stop-mainnet-fork:
@docker stop neutron-mainnet-fork
build-oracle:
@docker buildx build --load --build-context app=https://github.com/skip-mev/slinky.git#v1.0.3 -t skip-mev/slinky-e2e-oracle -f ./Dockerfile.slinky .
start-oracle:
@$(COMPOSE) up oracle -d
stop-oracle:
@docker stop oracle