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
default:
just --list
alias f := fmt
alias r := run
ci: build test clippy forbid fmt-check
build:
cargo build
test:
cargo test
clippy:
cargo clippy --all-targets --all-features
fmt-check:
cargo +nightly fmt --all -- --check
@echo formatting check done
run *args:
cargo run -- --{{args}}
fmt:
cargo +nightly fmt
forbid:
./bin/forbid
check:
cargo check
watch +COMMAND='test':
cargo watch --clear --exec "{{COMMAND}}"
usage:
cargo run -- --help | pbcopy