File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ .PHONY : setup setup-dev reload logs down fmt
2+
3+ # Full setup for testing
4+ # this includes building indexer-service and tap-agent
5+ # containers and binaries
6+ setup :
7+ ./setup-test-network.sh
8+
9+ # Rebuild binaries and restart services after code changes
10+ # This is useful for development as a complete container rebuild is not necessary
11+ reload :
12+ ./dev-reload.sh
13+
14+ # Watch log output from services
15+ logs :
16+ cd contrib && docker-compose -f docker-compose.dev.yml logs -f
17+
18+ # Stop all services
19+ down :
20+ cd contrib && docker-compose -f docker-compose.dev.yml down
21+
22+ # Cargo commands
23+ fmt :
24+ cargo fmt
25+
26+ test-local :
27+ cd tests && ./run-test-local.sh
Original file line number Diff line number Diff line change @@ -46,3 +46,26 @@ psql-down:
4646migrate :
4747 sqlx migrate run --database-url postgresql:// postgres:postgres@127.0.0.1 :5432
4848
49+
50+ # Development workflow commands
51+ # -----------------------------
52+
53+ # Full setup for testing
54+ # using a local network
55+ setup :
56+ ./ setup-test-network.sh
57+
58+ # Rebuild binaries and restart services after code changes
59+ reload :
60+ ./ dev-reload.sh
61+
62+ # Watch log output from services
63+ logs :
64+ @ cd contrib && docker-compose -f docker-compose.dev.yml logs -f
65+
66+ # Stop all services
67+ down :
68+ @ cd contrib && docker-compose -f docker-compose.dev.yml down
69+
70+ test-local :
71+ cd tests && ./ run-test-local.sh
You can’t perform that action at this time.
0 commit comments