GH2470: call multiple tasks from cli and pass them to run target#4054
Merged
devlead merged 2 commits intocake-build:developfrom Nov 7, 2022
FrankRay78:2470-Call-multiple-tasks-from-CLI-and-pass-them-to-RunTarget
Merged
GH2470: call multiple tasks from cli and pass them to run target#4054devlead merged 2 commits intocake-build:developfrom FrankRay78:2470-Call-multiple-tasks-from-CLI-and-pass-them-to-RunTarget
devlead merged 2 commits intocake-build:developfrom
FrankRay78:2470-Call-multiple-tasks-from-CLI-and-pass-them-to-RunTarget
Conversation
* Extend CakeEngine to accept multiple run targets * fixes #4054
Member
|
@FrankRay78 your changes have been merged, thanks for your contribution 👍 |
|
@devlead and @FrankRay78 is this supposed to work with frosting? when i do |
This was referenced Feb 23, 2023
@juwens You must use RunTargets instead RunTarget in your cake script RunTargets(Arguments<string>("target", new []{ "Default" }))Then you can run multiple targets dotnet-cake.exe build.cake --target=target1 --target=target2 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR fully implements #2470, 'Call multiple tasks from CLI and pass them to RunTarget'
Significant unit test coverage has been added for the changes, including minor refactoring and improvements to the existing codebase when encountered.
Significant effort was undertaken to ensure the changes introduced in this PR maintained backward compatibility.
Given the following cake build script,
This PR extends Cake to operate as follows: