Skip to content

Commit 8e29ba1

Browse files
committed
chore: add scripts for publish
1 parent 0ea57b6 commit 8e29ba1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,16 @@ freeze:
1414
@pip freeze > requirements.txt
1515

1616
test:
17-
@python -m unittest discover -p "*_test.py" src
17+
@python -m unittest discover -p "*_test.py" src
18+
19+
.PHONY: package_build package_clean package_publish
20+
21+
package_build:
22+
@python -m build
23+
24+
package_clean:
25+
@rm -rf dist
26+
@rm -rf *.egg-info
27+
28+
package_publish:
29+
@python -m twine upload dist/*

0 commit comments

Comments
 (0)