and make sure it generates neither errors nor warnings.
And, just generally, if building throws any errors or warnings (so, if there's anything on the error stream) don't copy the stuff over. Have that task fail. I mean, it should fail anyway due to the error code from the program, but JIC.
After compiling static templates, run them through:
https://github.com/htacg/tidy-html5
and make sure it generates neither errors nor warnings.
And, just generally, if building throws any errors or warnings (so, if there's anything on the error stream) don't copy the stuff over. Have that task fail. I mean, it should fail anyway due to the error code from the program, but JIC.