Skip to content

Commit df9b39e

Browse files
authored
MRG: update Makefile with 'offline', 'wheel' (#3579)
Fixes #3571 Updates `include/sourmash.h` rule to be verbose; Adds `wheel` and `offline` targets for build.
1 parent d72a759 commit df9b39e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

+7-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
@@ -36,7 +42,7 @@ include/sourmash.h: src/core/src/lib.rs \
3642
src/core/src/errors.rs \
3743
src/core/cbindgen.toml
3844
cd src/core && \
39-
RUSTC_BOOTSTRAP=1 cbindgen -c cbindgen.toml . -o ../../$@
45+
RUSTC_BOOTSTRAP=1 cbindgen -c cbindgen.toml . -o ../../$@ -v
4046

4147
coverage: all
4248
tox -e coverage

0 commit comments

Comments
 (0)