forked from FinChippay/Finchippay-Solution
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (27 loc) · 1.03 KB
/
Copy pathMakefile
File metadata and controls
34 lines (27 loc) · 1.03 KB
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
# Makefile — Common development commands for Finchippay Solution
#
# Usage:
# make dev — start frontend + backend concurrently (hot-reload)
# make test — run all tests (frontend unit + backend unit)
# make lint — lint frontend + backend
# make build — build Docker images (dev compose)
.PHONY: dev test lint build storybook deploy-contract-testnet
dev:
npm run dev
test:
npm run test --prefix frontend
npm run test --prefix backend
lint:
npm run lint --prefix frontend
npm run lint --prefix backend
build:
docker compose build
storybook:
npm run storybook --prefix frontend
# ─── Contract Deployment ────────────────────────────────────────────────────
# Deploy the Soroban contract to Stellar testnet.
# Requires: Stellar CLI, Rust + wasm32v1-none target, funded Stellar identity.
NETWORK ?= testnet
IDENTITY ?= alice
deploy-contract-testnet:
./scripts/deploy-contract.sh $(NETWORK) $(IDENTITY)