-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
46 lines (32 loc) · 1.22 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: build start build-integrity-verification start-integrity-verification start-core-indexing dev stop clippy test start-backfiller
SHELL := /bin/bash
build:
@docker compose -f docker-compose.yaml build ingester das-api synchronizer core-indexing slot-persister backfill
start:
@docker compose -f docker-compose.yaml up -d ingester
start-slot-persister:
@docker compose -f docker-compose.yaml up -d slot-persister
start-synchronizer:
@docker compose -f docker-compose.yaml up -d synchronizer
start-api:
@docker compose -f docker-compose.yaml up -d das-api
stop-api:
@docker stop --time 20 das-api
build-integrity-verification:
@docker compose -f docker-compose.yaml build integrity-verification
start-integrity-verification:
@docker compose -f docker-compose.yaml up -d integrity-verification
start-backfiller:
@docker compose -f docker-compose.yaml up -d backfill
start-core-indexing:
@docker compose -f docker-compose.yaml up -d core-indexing
dev:
@docker compose -f docker-compose.yaml up -d db
stop:
@docker stop --time 1000 ingester
clippy:
@cargo clean -p postgre-client -p rocks-db -p interface
@cargo clippy
test:
@cargo clean -p postgre-client -p rocks-db -p interface
@cargo test --features integration_tests