-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
34 lines (27 loc) · 695 Bytes
/
justfile
File metadata and controls
34 lines (27 loc) · 695 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
all: build test lint
# Run psychic in release mode
run *ARGS:
cargo run --release -- {{ARGS}}
jupyter:
uv run jupyter
# Build release binary
build:
cargo build --release && cargo doc && cargo fmt
# Run tests
test:
cargo test
# Run clippy linter
lint:
cargo clippy
# Analyze performance of latest psychic run
analyze-perf:
@cargo run --release -- internal analyze-perf
# Clear performance logs and run fresh measurement
measure-perf *ARGS:
@echo "Clearing old logs..."
@> ~/.local/share/psychic/app.log
@echo "Running psychic..."
@cargo run --release -- {{ARGS}} || true
@sleep 0.5
@echo ""
@cargo run --release -- internal analyze-perf