forked from codebestia/clicked
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (19 loc) · 668 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (19 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Start infrastructure (Postgres, Redis) then all applications via Turborepo.
dev:
docker compose -f infra/docker-compose.yml up -d
pnpm dev
# Run database migrations for the backend package.
migrate:
pnpm --filter backend db:migrate
# Run all test suites: JS/TS packages and Soroban contracts.
test:
pnpm --filter backend test
cd contracts && cargo test
# Run linting across all packages via Turborepo.
lint:
pnpm lint
# Build and deploy all Soroban smart contracts to the configured network.
deploy-contracts:
bash contracts/scripts/deploy_token_transfer.sh
bash contracts/scripts/deploy_group_treasury.sh
.PHONY: dev migrate test lint deploy-contracts