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 test - run evennia test suite with all default values."
|
||||||
@echo " make tests=evennia.path test - run only specific test or tests."
|
@echo " make tests=evennia.path test - run only specific test or tests."
|
||||||
@echo " make testp - run test suite using multiple cores."
|
@echo " make testp - run test suite using multiple cores."
|
||||||
|
@echo " make publish - publish evennia to pypi (requires pypi credentials)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
installextra:
|
installextra:
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install -r requirements_extra.txt
|
pip install -e .[extra]
|
||||||
|
|
||||||
# black is configured from pyproject.toml
|
# black is configured from pyproject.toml
|
||||||
format:
|
format:
|
||||||
|
|
@ -42,3 +43,11 @@ testp:
|
||||||
cd $(TEST_GAME_DIR);\
|
cd $(TEST_GAME_DIR);\
|
||||||
evennia migrate;\
|
evennia migrate;\
|
||||||
evennia test --keepdb --parallel 4 $(TESTS);\
|
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