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

CLI: exit process with correct error code #38

Closed
lo1tuma opened this issue Jul 8, 2014 · 1 comment · Fixed by #50
Closed

CLI: exit process with correct error code #38

lo1tuma opened this issue Jul 8, 2014 · 1 comment · Fixed by #50
Assignees
Labels

Comments

@lo1tuma
Copy link

lo1tuma commented Jul 8, 2014

The CLI tool just logs errors and warnings to stderr and exits the process as normal with exit code 0.

If you use some CI tool like jenkins, your build will be marked as successful.
The output on jenkins looks like this:

> aglio -i api.md -o build/api/index.html
>> Line 101: undefined symbol 'foo' (error code 3)
Finished: SUCCESS
@danielgtaylor
Copy link
Owner

Thanks, I'll see about fixing this to output a non-zero exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants