-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
58 lines (39 loc) · 961 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
54
55
56
57
58
fmt:
cargo fmt --all
sort:
cargo sort --workspace --grouped
lint: fmt sort
check:
cargo check --all --all-targets
clippy:
cargo clippy --all --all-targets
clippy-fix:
cargo clippy --fix
typos:
typos -w
doc:
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links" cargo doc --no-deps
doc-open:
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links" cargo doc --no-deps --open
hack:
cargo hack check --each-feature --no-dev-deps --workspace
test:
cargo test --workspace
test-ignored:
cargo test --workspace -- --ignored
qa: lint check clippy doc test
qa-full: lint check clippy doc hack test test-ignored
upgrades:
cargo upgrades
watch-docs:
cargo watch -x doc
watch-check:
cargo watch -x check -x test
example NAME:
cargo run -p rama --example {{NAME}}
www *ARGS:
RUST_LOG=debug cargo run -- -d "${PWD}/static" {{ARGS}}
watch-www *ARGS:
RUST_LOG=debug cargo watch -x 'run -- -d "${PWD}/static" {{ARGS}}'
deploy:
flyctl deploy