-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
53 lines (37 loc) · 1003 Bytes
/
Copy pathjustfile
File metadata and controls
53 lines (37 loc) · 1003 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
49
50
51
52
53
default:
@just --list
# Full pre-PR chain: format check, lint, tests
ci: fmt-check lint test
build:
cargo build
build-release:
cargo build --release
desktop-build:
cd desktop && npm run build
desktop-build-no-bundle:
cd desktop && npm run build:no-bundle
desktop-build-linux:
cd desktop && npm run build:linux
desktop-build-windows:
cd desktop && npm run build:windows
desktop-build-macos:
cd desktop && npm run build:macos
test:
cargo test --all-targets
# Filesystem seam integration tests (what CI runs on macOS/Windows)
test-fs:
cargo test --test config_fs
# Clippy with warnings as errors
lint:
cargo clippy --all-targets --all-features -- -D warnings
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all -- --check
release:
bash scripts/release.sh
# Regenerate DETECTION_COVERAGE.md from the live catalog
patterns-doc:
cargo run --quiet --features patterns-doc --bin patterns_doc > DETECTION_COVERAGE.md
clean:
cargo clean