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

7
.gitignore vendored
View File

@ -59,3 +59,10 @@ docs/build
# Obsidian # Obsidian
.obsidian .obsidian
# Virtual environments
.venv/
.env/
# Testing folder
.test_game_dir

View File

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