forked from sprytnyk/pylint-errors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (23 loc) · 749 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: clean rai raip release releaset
clean:
@echo "Cleaning up build related dirs..."
@rm -rf build dist plerr.egg-info .eggs 2>/dev/null
rai: clean
@echo "Rebuilding and installing plerr package..."
@python3 -m pip uninstall -y plerr Pygments
@python3 setup.py test
@python3 setup.py install --user
raip: clean
@echo "Rebuilding and installing plerr package to pipx..."
@python3 setup.py bdist_wheel
@pipx uninstall plerr
@python3 setup.py test
@pipx install -f dist/*
release: clean
@echo "Release plerr package to prod PyPI."
@python setup.py sdist bdist_wheel
@twine upload dist/*
releaset: clean
@echo "Release plerr package to test PyPI."
@python setup.py sdist bdist_wheel
@twine upload --repository testpypi dist/*