diff --git a/Makefile b/Makefile deleted file mode 100644 index a57c65f..0000000 --- a/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -ifeq ($(shell uname),Darwin) - EXT := dylib -else - EXT := so -endif - -source_files := $(wildcard src/*.rs) - -all: format lint build test - -PHONY: test format - -lint: - cargo clippy - -test: tantivy/tantivy.$(EXT) - python3 -m pytest - -format: - cargo fmt - -build: - maturin build --interpreter python3.7 python3.8 python3.9 python3.10 python3.11 - -tantivy/tantivy.$(EXT): target/debug/libtantivy.$(EXT) - cp target/debug/libtantivy.$(EXT) tantivy/tantivy.so - -target/debug/libtantivy.$(EXT): $(source_files) - cargo build