From 3b5271f83ea6e02b3609a97db57e8997ca8acaa3 Mon Sep 17 00:00:00 2001 From: George Pearse Date: Wed, 24 Dec 2025 14:30:44 -0500 Subject: [PATCH] chore: update justfile uv/maturin recipes --- justfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 0d402b0..a911d1f 100644 --- a/justfile +++ b/justfile @@ -8,15 +8,15 @@ default: # Install dependencies and build the Rust extension install: uv sync --extra dev --extra benchmark - uv run maturin develop --release + uv run --with maturin maturin develop --release # Build the Rust extension in release mode build: - uv run maturin develop --release + uv run --with maturin maturin develop --release # Build the Rust extension in debug mode (faster compilation) build-debug: - uv run maturin develop + uv run --with maturin maturin develop # Run the Python k-NN benchmark (compares PyNNDescent vs HNSW backends) benchmark: @@ -29,14 +29,17 @@ benchmark-rust: # Run all tests test: + uv sync --extra dev uv run pytest squeeze/tests/ -v # Run tests with testmon (only changed tests) test-fast: + uv sync --extra dev uv run pytest squeeze/tests/ --testmon # Run a specific test file test-file FILE: + uv sync --extra dev uv run pytest {{FILE}} -v # Run linting with ruff @@ -74,6 +77,7 @@ clean: # Watch tests and re-run on changes test-watch: + uv sync --extra dev uv run pytest-watch -- squeeze/tests/ -v # Run pre-commit hooks on all files