-
Notifications
You must be signed in to change notification settings - Fork 3
/
justfile
45 lines (34 loc) · 806 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
setup:
cargo install git-cliff
rustup component add llvm-tools-preview --toolchain nightly
cargo install cargo-llvm-cov
install:
cargo install --path .
build:
cargo build --all
test:
cargo test --all
release:
cargo build --verbose --release --all
coverage:
cargo llvm-cov --all-features --workspace --html
@bench:
cargo bench
@lint:
rustup component add clippy
rustup component add rustfmt
cargo clippy -- -D warnings
cargo clippy --tests
cargo fmt -- --check
@fix:
cargo fmt --all
# cargo install cargo-bloat
@analysis:
cargo bloat --release -n 50
clean:
cargo clean
find . -type f -name "*.orig" -exec rm {} \;
find . -type f -name "*.bk" -exec rm {} \;
find . -type f -name ".*~" -exec rm {} \;
changelog:
git cliff --output CHANGELOG.md