Skip to content

Commit

Permalink
upd makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegenes committed May 1, 2024
1 parent 0e2579e commit 5911125
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "maturin build"
on:
pull_request:
push:
branches: [latest]
branches: [main]
jobs:
mamba:
runs-on: ubuntu-latest
Expand Down
27 changes: 20 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
all: test
PYTHON ?= python

test:
python -m pytest

install-dev:
python -m pip install -e .
all:
maturin develop

install:
python -m pip install .
$(PYTHON) -m pip install -e .

clean:
$(PYTHON) -m pip uninstall .

test:
$(PYTHON) -m pytest

wheel:
$(PYTHON) -m maturin build -r

sdist:
rm -f target/wheels/sourmash_plugin_directsketch-*.tar.gz
$(PYTHON) -m maturin sdist

upload_sdist: sdist
twine upload target/wheels/sourmash_plugin_directsketch-*.tar.gz

0 comments on commit 5911125

Please sign in to comment.