-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
justfile
58 lines (41 loc) 路 1.34 KB
/
justfile
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
# ---------------------------------------------------------------------------- #
# Global #
# ---------------------------------------------------------------------------- #
@deps: && (node "deps")
mise install
corepack install
corepack enable pnpm
@bench +args="":
cargo bench {{args}}
build +args="":
cargo build -p cli {{args}}
# @build-all +args="": deps (cli "schema") sync
# goreleaser build --id odict --clean {{args}}
@insta +args="":
cargo insta {{args}}
@update-snaps:
cargo insta accept
@run +args="":
cargo run {{args}}
test: && (node "test")
cargo test
rm -rf **/.odict
# deps xsd (go "test") (jvm "test") (python "test") (js "test") (wasm "test") clean
@clean: (python "clean") (jvm "clean")
# @publish +args="--auto-snapshot --clean":
# goreleaser release {{args}}
# ------------------------------------------------------------------------------ #
# Platforms #
# ------------------------------------------------------------------------------ #
@rust +command:
just lib/{{command}}
@cli +command:
just cli/{{command}}
@jvm +command:
just jvm/{{command}}
@node +command:
just node/{{command}}
@python +command:
just python/{{command}}
@wasm +command:
just wasm/{{command}}