Add extra dev tools, as suggested in #2965 by @mikejgray

This commit is contained in:
Griatch 2022-10-31 20:43:00 +01:00
parent a2289c46f8
commit 83154de19e
2 changed files with 12 additions and 0 deletions

View file

@ -8,6 +8,7 @@ TESTS ?= evennia
default:
@echo " Usage: "
@echo " make install - install evennia (recommended to activate virtualenv first)"
@echo " make installextra - install evennia with extra-requirements (activate virtualenv first)"
@echo " make fmt/format - run the black autoformatter on the source code"
@echo " make lint - run black in --check mode"
@echo " make test - run evennia test suite with all default values."
@ -17,6 +18,10 @@ default:
install:
pip install -e .
installextra:
pip install -e .
pip install -r requirements_extra.txt
format:
black $(BLACK_FORMAT_CONFIGS) evennia