-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
36 lines (27 loc) · 683 Bytes
/
Copy pathjustfile
File metadata and controls
36 lines (27 loc) · 683 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
default:
just --list
# Format all files.
fmt:
cargo fmt --all
# Check the formatting of all files.
fmt-check:
cargo fmt --all -- --check
# Lint the package.
lint:
cargo clippy --all-targets --all-features -- -D warnings
# Run all tests.
test:
cargo test --all
# Perform a release build.
build:
cargo build --release
# Check the package for formatting, linting and testing errors.
check: fmt-check lint test
run *ARGS:
cargo run -- {{ARGS}}
# Build the wheel in 'out_dir'
wheel out_dir="dist":
uv build --wheel --out-dir {{out_dir}}
# Build the source distribution in 'out_dir'
sdist out_dir="dist":
uv build --sdist --out-dir {{out_dir}}