File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11RUFF := .venv/bin/ruff
22PYTEST := .venv/bin/pytest
3+ MATURIN := .venv/bin/maturin
34
45.PHONY : help build install dev test clean daemon-build daemon-release
56
@@ -14,14 +15,14 @@ help:
1415 @echo " make daemon-release - Build daemon binary (release)"
1516 @echo " make clean - Clean build artifacts"
1617
17- build :
18- maturin build -m server/Cargo.toml
18+ build : $( MATURIN )
19+ $( MATURIN ) build -m server/Cargo.toml
1920
20- release :
21- maturin develop --release -m server/Cargo.toml
21+ release : $( MATURIN )
22+ $( MATURIN ) develop --release -m server/Cargo.toml
2223
23- dev :
24- maturin develop -m server/Cargo.toml
24+ dev : $( MATURIN )
25+ $( MATURIN ) develop -m server/Cargo.toml
2526
2627test : lint $(PYTEST ) dev
2728 @echo " Running Rust tests (daemon)..."
@@ -62,3 +63,9 @@ $(PYTEST):
6263 @python3 -m venv .venv || true
6364 @.venv/bin/pip install --quiet pytest pytest-asyncio
6465 @echo " Pytest installed successfully"
66+
67+ $(MATURIN ) :
68+ @echo " Installing maturin..."
69+ @python3 -m venv .venv || true
70+ @.venv/bin/pip install --quiet maturin
71+ @echo " Maturin installed successfully"
You can’t perform that action at this time.
0 commit comments