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

Update build script to fail on error. #248

Merged
merged 1 commit into from
Oct 17, 2013

Conversation

benbjohnson
Copy link
Contributor

This fixes the issue in #247 where errors in the build script and test script don't cause the whole build to fail.

This uses the -e bash flag.

We may need to update this to support other shells or we can move to a Makefile which has fail-on-error as the default behavior.

/cc: @philips @xiangli-cmu

@philips
Copy link
Contributor

philips commented Oct 17, 2013

/bin/sh -e is a standard thing, it should be fine.

benbjohnson added a commit that referenced this pull request Oct 17, 2013
Update build script to fail on error.
@benbjohnson benbjohnson merged commit 088a01f into etcd-io:0.2 Oct 17, 2013
@benbjohnson benbjohnson deleted the build-fail branch October 17, 2013 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants