Skip to content

Commit 23144c2

Browse files
committed
Adds build and upload package targets to Makefile
1 parent 61a933c commit 23144c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
clean:
22
rm -rf src/syntactes/__pycache__ src/syntactes/tests/__pycache__
3+
rm -rf dist src/syntactes.egg-info
34

45
test:
56
python -m unittest discover -v src/syntactes/tests/
67

78
install-local-package:
89
pip install -e .
10+
11+
build-package:
12+
python -m build
13+
14+
upload-package:
15+
python -m twine upload --verbose -u '__token__' dist/*

0 commit comments

Comments
 (0)