Change build.sh to Makefile
This commit is contained in:
parent
7e0df73933
commit
f1ac52f50a
14
Makefile
Normal file
14
Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
dist: setup.cfg pyproject.toml
|
||||||
|
rm -rfv src/fsub.egg-info
|
||||||
|
rm -rfv dist
|
||||||
|
python3 -m build
|
||||||
|
|
||||||
|
upload: dist
|
||||||
|
python3 -m twine upload --repository pypi dist/*
|
||||||
|
|
||||||
|
check:
|
||||||
|
python3 -m unittest tests
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rfv tests/__pycache__
|
||||||
|
rm -rfv src/fsub/__pycache__
|
6
build.sh
6
build.sh
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
rm -rv dist
|
|
||||||
python3 -m build
|
|
||||||
|
|
||||||
# Upload to PyPI with:
|
|
||||||
# python3 -m twine upload --repository pypi dist/*
|
|
Loading…
x
Reference in New Issue
Block a user