forked from ritual-net/infernet-container-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (20 loc) · 803 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
build-container:
$(MAKE) -C ./projects/$(project)/container build
remove-containers:
docker compose -f deploy/docker-compose.yaml down || true
docker stop $(project) anvil-node && docker rm $(project) anvil-node || true
build-multiplatform:
$(MAKE) -C ./projects/$(project)/container build-multiplatform
deploy-container:
$(MAKE) remove-containers
cp ./projects/$(project)/container/config.json deploy/config.json
docker compose -f deploy/docker-compose.yaml up -d
docker compose -f deploy/docker-compose.yaml logs -f
deploy-contracts:
$(MAKE) -C ./projects/$(project)/contracts deploy
call-contract:
$(MAKE) -C ./projects/$(project)/contracts call-contract
build-service:
$(MAKE) -C ./projects/$(project)/$(service) build
run-service:
$(MAKE) -C ./projects/$(project)/$(service) run