mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 00:06:30 +01:00
Update makefile
This commit is contained in:
parent
206b815010
commit
db0cfba84d
1 changed files with 10 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue