-
Notifications
You must be signed in to change notification settings - Fork 25
/
justfile
38 lines (26 loc) · 794 Bytes
/
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
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
default:
@just --list
build *args:
cargo build --features debugmozjs {{args}}
build-release *args:
cargo build --release {{args}}
check *args:
cargo check --features debugmozjs {{args}}
check-release *args:
cargo check --release {{args}}
clippy *args:
cargo clippy --features debugmozjs {{args}}
clippy-release *args:
cargo clippy --release {{args}}
run *args:
cargo run --features debugmozjs {{args}}
run-release *args:
cargo run --release {{args}}
test *args:
cargo nextest run --features debugmozjs --locked {{args}}
test-release *args:
cargo nextest run --release --locked {{args}}
lint:
cargo +nightly fmt --check --all
cargo clippy --all-targets --locked -F debugmozjs -- -D warnings