-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjustfile
52 lines (40 loc) · 1.17 KB
/
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
default:
@just --list
install-requirements:
cargo install cargo-binstall
cargo binstall -y cargo-machete cargo-sort cargo-nextest cargo-zigbuild cargo-expand cargo-mommy bacon cargo-deny just cargo-tarpaulin xargo cargo-outdated cargo-smart-release cargo-prebuilt cargo-cache
lint:
cargo clippy --summary
cargo fmt --check
cargo deny check
cargo outdated
check:
cargo check
format:
cargo fmt
just --fmt --unstable
fix:
@just format
cargo fix
cargo-machete --fix
build:
cargo build
test:
cargo nextest r
run +args='--help':
cargo run -- {{ args }}
watch:
bacon
#- major: Increase the major version (x.0.0)
#- minor: Increase the minor version (x.y.0)
#- patch: Increase the patch version (x.y.z)
#- release: Remove the pre-version (x.y.z)
#- rc: Increase the rc pre-version (x.y.z-rc.M)
#- beta: Increase the beta pre-version (x.y.z-beta.M)
# - alpha: Increase the alpha pre-version (x.y.z-alpha.M)
release:
cargo release alpha --execute --no-publish --no-push
# cargo smart-release --execute --update-crates-index -h
# Install application on current machine
install:
cargo install --path=.