.PHONY: all build develop test fmt lint clean clean-cargo

all: develop

fmt:
	cargo fmt

lint:
	cargo clippy -- -D warnings

build:
	maturin build --release

develop:
	maturin develop --release

test:
	maturin develop --release && python -m pytest

clean-cargo:
	cargo clean

clean: clean-cargo
	rm -rf target/wheels