How to detect warnings in doc generation?

9 views
Skip to first unread message

Veer Mati

unread,
Nov 6, 2013, 6:17:46 PM11/6/13
to yui...@googlegroups.com
We have automated tasks that run yuidoc on a regular basis, and if there is an issue with the yuidoc generation, the task fails.
 
How do I get the task (a .sh file) to fail when it encounters a warning when generating docs? Ideally, I would like it to print the warning and exit with a non-zero status code.
 
Thanks,
Veer
 
Reply all
Reply to author
Forward
0 new messages