-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjustfile
More file actions
51 lines (40 loc) · 1.56 KB
/
Copy pathjustfile
File metadata and controls
51 lines (40 loc) · 1.56 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
# See https://github.com/sablier-labs/devkit/blob/main/just/base.just
import "./node_modules/@sablier/devkit/just/base.just"
# ---------------------------------------------------------------------------- #
# CONSTANTS #
# ---------------------------------------------------------------------------- #
GLOBS_PRETTIER := "\"**/*.{html,md,svg,yaml,yml}\""
# ---------------------------------------------------------------------------- #
# SCRIPTS #
# ---------------------------------------------------------------------------- #
# Default recipe
default:
just --list
# Build all token lists (EVM and Solana)
@build:
just build-evm
just build-solana
alias b := build
# Build EVM token list
@build-evm:
na tsx scripts/token-list/write.ts > token-list/evm.json
echo '{{ GREEN }}✓ EVM token list built successfully'
# Build Solana token list
@build-solana:
na tsx scripts/token-list/write-solana.ts > token-list/solana.json
echo '{{ GREEN }}✓ Solana token list built successfully'
# Clean the generated files
@clean globs="token-list/evm.json token-list/solana.json":
nlx del-cli {{ globs }}
# Sort tokens alphabetically by symbol
@sort-tokens:
na tsx scripts/token-list/sort-tokens.ts
# Run all tests
@test *args:
na vitest run {{ args }}
alias t := test
# Run all tests as they run in CI (i.e. include CI-only tests)
@test-all *args:
CI=true na vitest run {{ args }}
alias ta := test-all
alias ci := test-all