Update makefile

This commit is contained in:
Griatch 2022-11-19 02:05:37 +01:00
parent 206b815010
commit db0cfba84d

View File

@ -13,13 +13,14 @@ default:
@echo " make test - run evennia test suite with all default values."
@echo " make tests=evennia.path test - run only specific test or tests."
@echo " make testp - run test suite using multiple cores."
@echo " make publish - publish evennia to pypi (requires pypi credentials)
install:
pip install -e .
installextra:
pip install -e .
pip install -r requirements_extra.txt
pip install -e .[extra]
# black is configured from pyproject.toml
format:
@ -42,3 +43,11 @@ testp:
cd $(TEST_GAME_DIR);\
evennia migrate;\
evennia test --keepdb --parallel 4 $(TESTS);\
publish:
rm -Rf dist/
git clean -xdf
pip install --upgrade pip
pip install build twine
python -m build --sdist --wheel --outdir dist/ .
python -m twine upload dist/*