Skip to content
Open
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
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ dist:
test:
python3 -m unittest discover --start-directory tests/python --pattern "bindings_test*.py"

examples:
@for f in examples/python/example*.py; do \
echo "=== $$f ==="; \
python3 "$$f" || exit 1; \
done

install:
pip install .

clean:
rm -rf *.egg-info build dist tmp var tests/__pycache__ hnswlib.cpython*.so

.PHONY: dist
.PHONY: dist test examples install clean