Skip to content

Commit dac395f

Browse files
author
Charles Larivier
committed
feat(makefile): add make release command
Signed-off-by: Charles Larivier <charles@dribbble.com>
1 parent e5b6eb7 commit dac395f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
dev:
22
@pipenv install --dev --pre
33
@pipenv run pre-commit install
4+
5+
release: clear-builds build distribute
6+
7+
clear-builds:
8+
@rm -rf dist
9+
10+
build:
11+
@pipenv run python -m pip install --upgrade build
12+
@pipenv run python -m build
13+
14+
distribute:
15+
@pipenv run python -m pip install --upgrade twine
16+
@pipenv run python -m twine upload dist/*

0 commit comments

Comments
 (0)