forked from librefang/librefang
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
48 lines (36 loc) · 901 Bytes
/
justfile
File metadata and controls
48 lines (36 loc) · 901 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
# LibreFang development commands — requires https://github.com/casey/just
# Default: list available recipes
default:
@just --list
# Build all workspace libraries
build:
cargo build --workspace --lib
# Run all workspace tests
test:
cargo test --workspace
# Run clippy with strict warnings
lint:
cargo clippy --workspace --all-targets -- -D warnings
# Format all code
fmt:
cargo fmt --all
# Check formatting without modifying files
fmt-check:
cargo fmt --all -- --check
# Type-check the workspace
check:
cargo check --workspace
# Local CI simulation: fmt-check + lint + test
ci: fmt-check lint test
# Build and open workspace documentation
doc:
cargo doc --workspace --no-deps --open
# Remove build artifacts
clean:
cargo clean
# Synchronize crate versions
sync-versions:
./scripts/sync-versions.sh
# Cut a release
release:
./scripts/release.sh