-
Notifications
You must be signed in to change notification settings - Fork 11
/
Taskfile.yml
84 lines (77 loc) · 1.98 KB
/
Taskfile.yml
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
84
version: "3"
run: once
tasks:
build:
deps:
- build-playground
cmd: cargo build --features=playground {{.CLI_ARGS}}
build-playground:
deps:
- setup-playground
cmds:
- pnpm run build:wasm
- pnpm install --prefer-frozen-lockfile
- pnpm run build
dir: playground
fmt:
deps:
- fmt-loxcraft
- fmt-playground
- fmt-lox-wasm
fmt-loxcraft:
cmd: cargo +nightly fmt --all
internal: true
fmt-playground:
deps:
- setup-playground
cmd: pnpm run fmt
dir: playground
internal: true
fmt-lox-wasm:
cmd: cargo +nightly fmt --all
dir: playground/rust/lox-wasm
internal: true
install:
deps:
- build-playground
cmd: cargo install --features=playground --force --locked --path=.
lint:
deps:
- lint-loxcraft-clippy
- lint-loxcraft-rustfmt
- lint-playground
- lint-lox-wasm-clippy
- lint-lox-wasm-rustfmt
lint-loxcraft-clippy:
cmd: cargo clippy --all-features --all-targets --workspace -- --deny=warnings
internal: true
lint-loxcraft-rustfmt:
cmd: cargo +nightly fmt --all -- --check
internal: true
lint-playground:
deps:
- setup-playground
cmd: pnpm run lint
dir: playground
internal: true
lint-lox-wasm-clippy:
cmd: cargo clippy --all-features --all-targets --workspace -- --deny=warnings
dir: playground/rust/lox-wasm
internal: true
lint-lox-wasm-rustfmt:
cmd: cargo +nightly fmt --all -- --check
dir: playground/rust/lox-wasm
internal: true
setup:
deps:
- setup-playground
setup-playground:
cmd: pnpm install --prefer-frozen-lockfile
dir: playground
internal: true
test:
cmd: cargo nextest run --features='gc-stress,gc-trace,vm-trace' --workspace {{.CLI_ARGS}}
test-miri:
cmd: >
MIRIFLAGS='-Zmiri-disable-isolation'
cargo +nightly miri nextest run --features='gc-stress,gc-trace,vm-trace' --no-default-features --workspace {{.CLI_ARGS}}