From a312efe5c93cfb81c0b699b6f706c73054be7976 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 18 Mar 2021 11:04:39 +0100 Subject: [PATCH] Add Makefile to help with testing --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0fc8931 --- /dev/null +++ b/Makefile @@ -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