Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change exit status code if errors are found #1

Closed
hvelarde opened this Issue Nov 2, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@hvelarde
Copy link
Member

commented Nov 2, 2012

it could be nice to return an exit status code != 0 if errors are encountered during template processing.

this could be useful, for instance, to allow CI testing to verify if all templates are valid and/or all strings are translated when using something like this:

# i18ndude find-untranslated -s src/
src/collective/newsflash/browser/templates/newsflash_viewlet.pt: 1 warnings, 1 errors

Fatal error in document src/collective/newsflash/browser/templates/newsflash_viewlet_js.pt

# echo $?
0
@mauritsvanrees

This comment has been minimized.

Copy link
Member

commented Mar 1, 2013

Fixed in commit 0d6f0ed.

@hvelarde

This comment has been minimized.

Copy link
Member Author

commented Mar 6, 2013

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.