Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading