-
Notifications
You must be signed in to change notification settings - Fork 69
Conditional execution of steps with if:
#520
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b45639f
Prototype: conditional exec
mrnugget 11b1662
Add if conditional
mrnugget 69e538c
Add builtins
mrnugget b84b9e1
Add test for conditional execution
mrnugget d307c6e
Add test for BuildTasks and globbing
mrnugget b83ebc0
Extract small method
mrnugget e56772f
Clean up BuildTasks
mrnugget b459579
More cleanup
mrnugget a0b3a2e
Extract code into TaskBuilder
mrnugget f24b6d8
Extract workspace finding to TaskBuilder
mrnugget 1ea6bd0
Use TaskBuilder in cmd
mrnugget 3de7a42
Remove now unneeded code from Service
mrnugget ef33f27
Clean up test for evalStepCondition
mrnugget 81d7dc3
Add parseAndPartialEval to statically check `if:` fields
mrnugget d8b9388
Clean up code
mrnugget c741d66
Make field access more robust
mrnugget eb822f0
Update schema to remove in
mrnugget 2003b2d
Remove varargs
mrnugget a5d62c0
Update TaskBuilder to partial evaluate if
mrnugget 3dca350
Add conditional exec to changelog and feature check
mrnugget b9fe904
Add `steps.path`, `steps.*files` to StepContext
mrnugget 3f6fdf8
Reduce number of nodes in debugNode
mrnugget 4180a48
Implement 'not' in partial evaluator
mrnugget 29bdc6e
Implement 'ne' function
mrnugget 7140607
Allow bool|string for step conditions
mrnugget 6fa34e6
Improve loop
mrnugget e169c77
Incorporate feedback from review
mrnugget 8db1e0e
Remove moved code
mrnugget 58afec6
Do not try to execute task with 0 steps
mrnugget e2e5362
Fix tests
mrnugget File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.