Add a publish command to the Makefile
This commit is contained in:
parent
020f805fbe
commit
44d3e64d56
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -28,14 +28,14 @@ docker: ## Create a new Docker image and publish it
|
||||||
build: test compilemessages ## Build the Python package before release
|
build: test compilemessages ## Build the Python package before release
|
||||||
@hatch build
|
@hatch build
|
||||||
|
|
||||||
|
.PHONY: publish
|
||||||
|
publish: ## Publish the Python package to Pypi
|
||||||
|
@hatch publish
|
||||||
|
make clean
|
||||||
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
py.test -xv umap/tests/
|
py.test -xv umap/tests/
|
||||||
test_publish:
|
|
||||||
twine upload -r testpypi dist/*
|
|
||||||
publish:
|
|
||||||
twine upload dist/*
|
|
||||||
make clean
|
|
||||||
clean:
|
clean:
|
||||||
rm -f dist/*
|
rm -f dist/*
|
||||||
rm -rf build/*
|
rm -rf build/*
|
||||||
|
|
Loading…
Reference in a new issue