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

Run each command "successfully" #32

Closed
croaky opened this Issue Aug 3, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@croaky
Contributor

croaky commented Aug 3, 2012

successfully() {
  $* || (echo "failed" 1>&2 && exit 1)
}

means that we could do

successfully rvm use 1.9.2

@ghost ghost assigned mike-burns Aug 3, 2012

croaky added a commit that referenced this issue Aug 3, 2012

[#32] Run each command "successfully"
* Halt execution of the script at the point that something fails.
* Update total expected time now that `brew install qt` is faster.
* Combine scripts into one file so we don't have to duplicate or
  source the `successfully` function.

croaky added a commit that referenced this issue Sep 23, 2012

[#32] Run each command "successfully"
* Halt execution of the script at the point that something fails.
* Update total expected time now that `brew install qt` is faster.
* Combine scripts into one file so we don't have to duplicate or
  source the `successfully` function.
@croaky

This comment has been minimized.

Show comment
Hide comment
@croaky

croaky Sep 23, 2012

Contributor

Submitted pull request #40.

Contributor

croaky commented Sep 23, 2012

Submitted pull request #40.

@croaky croaky closed this Sep 23, 2012

croaky added a commit that referenced this issue Oct 2, 2012

[#32] Run each command "successfully"
* Halt execution of the script at the point that something fails.
* Update total expected time now that `brew install qt` is faster.
* Combine scripts into one file so we don't have to duplicate or
  source the `successfully` function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment