-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
43 lines (32 loc) · 869 Bytes
/
justfile
File metadata and controls
43 lines (32 loc) · 869 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# List available recipes
default:
@just --list
# Run all workspace tests
test:
cargo test --workspace
# Build all crates (native)
build:
cargo build --workspace
# Build and optimize Soroban contracts
build-contracts:
stellar contract build --optimize --profile contract
build-ts:
npx tsc -p ./packages/passkey-sdk/tsconfig.json
# Check formatting and clippy
check:
cargo fmt --all -- --check
cargo clippy --all --tests -- -Dclippy::pedantic
# Format all code
fmt:
cargo fmt --all
# Clean build artifacts
clean:
cargo clean
check-astro:
npx astro check --root ./packages/frontend
build-astro:
npx astro build --root ./packages/frontend
cloudflare-deploy: build-astro
npx wrangler pages deploy packages/frontend/dist/ --project-name mysoroban --branch main
dev: build-ts
(cd packages/frontend; npm run dev)