-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
55 lines (42 loc) · 940 Bytes
/
justfile
File metadata and controls
55 lines (42 loc) · 940 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
54
55
set shell := ["bash", "-eu", "-o", "pipefail", "-c"]
# Check local prerequisites
doctor:
./scripts/doctor.sh
# Build release binary
build:
cargo build --release
# Install globally
install:
cargo install --path crates/eli
# Rust fmt + lint + tests
check:
./scripts/check.sh
# Run Rust tests only
test-rust:
cargo test --workspace
# Run Python smoke tests
test-py:
./scripts/test_python.sh
# Run sidecar checks
test-sidecar:
./scripts/test_sidecar.sh
# Run practical local validation across languages
test-all:
cargo test --workspace
./scripts/test_python.sh
./scripts/test_sidecar.sh
# Keep old shorthand behavior
test:
cargo test --workspace
# Run sidecar in dev mode
dev-sidecar:
cd sidecar && npm run dev
# Release-oriented validation
release-check:
./scripts/release_check.sh
# Run with arguments
run *ARGS:
cargo run -p eli -- {{ARGS}}
# Clean
clean:
cargo clean