Skip to content

Commit bfb52c6

Browse files
committed
MRG: update Makefile with 'offline', 'wheel'
1 parent fbadc59 commit bfb52c6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ clean:
1414

1515
install: build
1616

17+
offline:
18+
pip install -e . --no-index --find-links '.' --no-build-isolation
19+
1720
dist: FORCE
1821
$(PYTHON) -m build --sdist
1922

23+
wheel:
24+
$(PYTHON) -m maturin build -r
25+
2026
test: .PHONY
2127
tox -e py310
2228
cargo nextest run
@@ -32,11 +38,12 @@ include/sourmash.h: src/core/src/lib.rs \
3238
src/core/src/ffi/nodegraph.rs \
3339
src/core/src/ffi/index/mod.rs \
3440
src/core/src/ffi/index/revindex.rs \
41+
src/core/src/ffi/index/disk_revindex.rs \
3542
src/core/src/ffi/storage.rs \
3643
src/core/src/errors.rs \
3744
src/core/cbindgen.toml
3845
cd src/core && \
39-
RUSTC_BOOTSTRAP=1 cbindgen -c cbindgen.toml . -o ../../$@
46+
RUSTC_BOOTSTRAP=1 cbindgen -c cbindgen.toml . -o ../../$@ -v
4047

4148
coverage: all
4249
tox -e coverage

0 commit comments

Comments
 (0)