forked from penumbra-zone/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
83 lines (66 loc) · 1.6 KB
/
Copy pathjustfile
File metadata and controls
83 lines (66 loc) · 1.6 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Install npm dependencies
install:
pnpm install
# Build everything via turbo
build:
pnpm turbo build
# Build just the packages via turbo
build-packages:
pnpm turbo build --filter "./packages/*"
# Compile the WASM dependencies via turbo
wasm:
pnpm turbo compile
# Compile the WASM dependencies via turbo (alias)
compile:
@just wasm
# Remove all cached build artifacts
clean:
pnpm clean
pnpm clean:modules
pnpm clean:vitest-mjs
rm -rf .turbo
fd -t d node_modules --no-ignore -X rm -r
fd -t d target --no-ignore -X rm -r
fd -t f tsconfig.tsbuildinfo --no-ignore -X rm
# Wrapper for all linting targets
lint:
@just lint-turbo
@just lint-rust
# Lint the turbo resources
lint-turbo:
pnpm turbo lint:strict
# List Rust code
lint-rust:
pnpm turbo lint:rust
# Build top-level debug container
container:
@just veil-container
podman image ls | rg veil
# Run dev-env for Veil DEX explorer app
veil:
cd ./apps/veil && just dev
# Build container for Veil app
veil-container:
cd ./apps/veil && just container
# Configure Playwright for current nix devshell
playwright-setup:
./scripts/playwright-setup
# Run all test suites
test: playwright-setup
# Run rust tests
@just test-rust
# Run turbo playwright tests
@just test-turbo
# Run the turbo test suite
test-turbo: playwright-setup
pnpm turbo test
# Run the Rust test suite
test-rust: playwright-setup
pnpm turbo test:cargo
pnpm turbo test:wasm
# Run test suites locally and gather timing information
benchmark-tests:
./scripts/benchmark-tests
# Deploy Veil from current branch to fly.io
deploy:
./ci/fly-deploy-branch