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

Implement conditional actions #20

Merged
merged 1 commit into from May 13, 2020
Merged

Conversation

pgaskin
Copy link
Owner

@pgaskin pgaskin commented May 13, 2020

Closes #11.

@pgaskin pgaskin added this to the v0.1.0 milestone May 13, 2020
@pgaskin
Copy link
Owner Author

pgaskin commented May 13, 2020

I've tested this with:

menu_item:main:Test:cmd_output:500:mkdir /tmp/geek1011 && echo mkdir
chain:dbg_msg:Success
chain_failure:cmd_output:500:rm -rf /tmp/geek1011 && echo rm
chain_always:dbg_toast:Done

I've also tried it in a few actual ones to make sure it works with more complex chains

@pgaskin pgaskin requested a review from shermp May 13, 2020 03:20
@pgaskin
Copy link
Owner Author

pgaskin commented May 13, 2020

Also, @baskerville has tested this before I opened this PR.

@pgaskin pgaskin merged commit bf03f9e into master May 13, 2020
@pgaskin pgaskin deleted the geek1011/conditional-actions branch May 13, 2020 15:37
This was referenced May 25, 2020
@jackiew1 jackiew1 mentioned this pull request Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generalize chain?
1 participant