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

Fail fast on error #10

Open
anishathalye opened this issue Jun 28, 2015 · 2 comments
Open

Fail fast on error #10

anishathalye opened this issue Jun 28, 2015 · 2 comments

Comments

@anishathalye
Copy link
Contributor

It's usually a good idea to set the set -e and set -x options in the script if you can. Failing fast on errors is usually a good thing. It might require reworking some of the things (if a command is allowed to fail, you can explicitly add something like || true, and stuff like that).

@Vaelatern
Copy link
Owner

Does that work on OSX and Linux?

@anishathalye
Copy link
Contributor Author

Sorry , I meant set -e and set -u. And yeah, they are just bash features: http://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html

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

No branches or pull requests

2 participants