Moved dungeon.c and dungeon.h templates into external files.

Also refactored to use named vars in the templates, so it's easier to
refactor, as order when you call .format() isn't important.
This commit is contained in:
Aaron Traas 2017-07-23 12:07:10 -04:00
parent 8765f49fdc
commit 319c5830c8
5 changed files with 269 additions and 260 deletions

View file

@ -14,7 +14,7 @@ import re
TEST_DIR = "."
YAML_PATH = "../adventure.yaml"
HTML_TEMPLATE_PATH = "coverage_dungeon.html.tpl"
HTML_TEMPLATE_PATH = "../templates/coverage_dungeon.html.tpl"
DEFAULT_HTML_OUTPUT_PATH = "../coverage/adventure.yaml.html"
STDOUT_REPORT_CATEGORY = " {name:.<19}: {percent:5.1f}% covered ({covered} of {total})\n"