Replies: 1 comment 1 reply
-
@ap0llo Did you ever find a solution/answer? My current plan to address this is to define my resuable tasks and a base-BuildContext that defines common arguments in a library project, like so:
and in each specific build project's
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to use optional task dependencies as described here in the release notes for Cake 0.23.
As far as I can tell the functionality is still there in e.g.
CakeGraphBuilder
but it is (no longer?) made available throughIsDependentOn()
/IsDependeeOf()
and is not mentioned in the documentation.It is also not usable in Cake.Frosting at the moment.
Was there a reason to remove this functionality?
My use case is the following:
This is exactly what the optional dependency feature does (as far as I understand it): Respect the dependency if both tasks are in the current build but ignore the dependency otherwise.
I'd be happy to provide a PR that adds support for this to Cake.Frosting.
Beta Was this translation helpful? Give feedback.
All reactions