-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathjustfile
More file actions
54 lines (38 loc) · 762 Bytes
/
justfile
File metadata and controls
54 lines (38 loc) · 762 Bytes
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
build-dev:
cargo build
build-release:
cargo build --release
build: build-release
check:
cargo check --all-targets
test:
cargo test --all-targets
clippy:
cargo clippy --all-targets -- -Dwarnings
checkfmt:
cargo fmt --all -- --check
lint: checkfmt clippy
run:
cargo run
clean:
cargo clean
install:
cargo install --path crates/punktf-cli
doc:
cargo doc --all --document-private-items
#############
## Utility ##
#############
# Git - can i commit
cic: test lint doc
# Searches for things which need to be improved
todos:
rg "(TODO|print(!|ln!)|unwrap\()"
# Compile timings
timings: clean
cargo build -p punktf --bin punktf --timings --release
# Check for outdated dependencies
#
# REQUIRES: cargo-edit
outdated:
cargo upgrade --dry-run