Add utility to easily run Sphinx on fucntional tests

This commit is contained in:
Wouter de Jong
2021-03-26 15:14:29 +01:00
parent e5e7cbe609
commit f79767d649
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
/.phpcs-cache
/tests/*/output
/.phpunit.result.cache
/tests/Functional/_sphinx/

3
tests/sphinx Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
rm -rf tests/Functional/_sphinx
${SPHINX_BUILD:=sphinx-build} -C -D master_doc=$1 tests/Functional/tests/$1 tests/Functional/_sphinx