We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example:
mkdir empty_dir cd empty_dir trunk build echo $?
prints 0 Expected any non-zero value.
trunk build obviously fails in an empty directory but the exit code is still 0.
trunk build
Exit code is helpful to short-circuit a build pipeline if the "trunk build" step fails but without non-zero return code it is non-trivial to do.
P.S. Thanks for the awesome tool!
The text was updated successfully, but these errors were encountered:
@samoylovfp thanks for the report! I'll knock this out in the 0.4.0 release, which will be going out shortly.
Sorry, something went wrong.
f518f7e
Cheers! Done.
thedodd
No branches or pull requests
Example:
prints 0
Expected any non-zero value.
trunk build
obviously fails in an empty directory but the exit code is still 0.Exit code is helpful to short-circuit a build pipeline if the "trunk build" step fails but without non-zero return code it is non-trivial to do.
P.S. Thanks for the awesome tool!
The text was updated successfully, but these errors were encountered: