Add initial static-doc to master for proper versioning

This commit is contained in:
Griatch 2020-06-12 22:01:38 +02:00
parent 935c2c6eff
commit f7bde74360
290 changed files with 32391 additions and 0 deletions

30
docs/checkenv.sh Normal file
View file

@ -0,0 +1,30 @@
# check environment
# common checks
if [ ! -d "$EVDIR" ]; then
echo "The evennia dir is not found at $EVDIR.";
exit 1
fi
if [ ! -d "$EVGAMEDIR" ]; then
echo "The gamedir is not found at $EVGAMEDIR";
exit 1
fi
if [ $# -ne 0 ]
# a multi-version build
then
if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
echo "There are uncommitted changes. Make sure to commit everything in your current branch before doing a multiversion build."
exit 1
fi
fi