Add Makefile to help with testing

This commit is contained in:
Dirkjan Ochtman 2021-03-18 11:04:39 +01:00
parent fd849f8a8b
commit 51cedb1719
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