Closed FrankRay78 closed 1 year ago
@FrankRay78 your changes have been merged, thanks for your contribution 👍
@devlead and @FrankRay78 is this supposed to work with frosting?
when i do build.ps1 --target=A --target=B
only B gets executed.
@devlead and @FrankRay78 is this supposed to work with frosting?
when i do
build.ps1 --target=A --target=B
only B gets executed.
@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 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: