Skip to content

Commit

Permalink
chore: add build targets to makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
  • Loading branch information
Dominik Rosiek authored and sumo-drosiek committed Sep 8, 2021
1 parent 336f1e8 commit 451ee07
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,21 @@ pytest:

pylint:
python -m pylint **/*.py

# https://packaging.python.org/tutorials/packaging-projects/
.PHONY: build
build:
rm dist -r
python -m pip install virtualenv
python -m pip install --upgrade build
python -m build

.PHONY: push-test
push-test:
python -m pip install --upgrade twine
python -m twine upload --repository testpypi dist/*

.PHONY: push
push:
python -m pip install --upgrade twine
python -m twine upload dist/*

0 comments on commit 451ee07

Please sign in to comment.