Add Makefile to help with testing

This commit is contained in:
Dirkjan Ochtman 2021-03-18 11:04:39 +01:00
parent 0bd6d20b11
commit a312efe5c9
1 changed files with 4 additions and 0 deletions

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
test-python:
cargo build --release
cp target/release/libinstant_distance.dylib instant-distance-py/test/instant_distance.so
PYTHONPATH=instant-distance-py/test/ python3 -m test