-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
53 lines (37 loc) · 777 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Lint + Build
default: lint build
# Lint + Build + Test
all: lint build test
# Shadows CI checks as closely as possible
ci: lint-strict build-release test udeps deny lint-examples-strict build-examples-release
###
build:
cargo build
build-examples:
cargo build --examples
build-examples-release:
cargo build --examples --release
build-release:
cargo build --release
clean:
cargo clean
deny:
cargo deny check
docs:
cargo doc
docs-open:
cargo doc --open
example file:
cargo run --example {{file}}
lint:
cargo clippy
lint-examples:
cargo clippy --examples
lint-examples-strict:
cargo clippy --examples -- -D warnings
lint-strict:
cargo clippy -- -D warnings
test:
cargo test
udeps:
cargo +nightly udeps