Apply static path exclusion patterns again.

Refactor exclusion stuff a bit, so that matchers only have to be compiled once.
This commit is contained in:
Georg Brandl
2010-01-07 16:39:59 +01:00
parent c9345b33b2
commit 5cb64a7228
4 changed files with 36 additions and 23 deletions

View File

@@ -178,7 +178,7 @@ def check_static_entries(outdir):
assert (staticdir / 'templated.css').isfile()
assert (staticdir / 'templated.css').text().splitlines()[1] == __version__
# a file from _static, but matches exclude_patterns
##assert not (staticdir / 'excluded.css').exists()
assert not (staticdir / 'excluded.css').exists()
@gen_with_app(buildername='html', warning=html_warnfile, cleanenv=True,
confoverrides={'html_context.hckey_co': 'hcval_co'},