File: justfile

package info (click to toggle)
rust-async-compression 0.4.27-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,020 kB
  • sloc: makefile: 2
file content (22 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
_list:
    @just --list

# Format project.
fmt:
    just --unstable --fmt
    cargo +nightly fmt

# Check project.
[group("lint")]
check: && clippy
    just --unstable --fmt --check
    cargo +nightly fmt -- --check

# Lint workspace with Clippy.
clippy:
    cargo clippy --workspace --all-targets --no-default-features
    cargo clippy --workspace --all-targets --all-features

# Document crates in workspace.
doc *args:
    RUSTDOCFLAGS="--cfg=docsrs -Dwarnings" cargo +nightly doc --workspace --all-features {{ args }}