chore: remove outdated Makefile (fixes #255) (#264)

master
Caleb Hattingh 2024-05-04 00:45:25 +02:00 committed by GitHub
parent f0cfe7445b
commit 22b44a3228
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 29 deletions

View File

@ -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