mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 11:26:10 +00:00
Update makefile
This commit is contained in:
parent
206b815010
commit
db0cfba84d
11
Makefile
11
Makefile
@ -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/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user