Skip to content

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented May 20, 2023

This is a super common operation to want in the builds i've come across: conditional scalac flags, conditional deps, conditional sources, etc. Better to have it built in as Agg.when(foo)("bar", "baz") rather than jumping through hoops with ++ (if (foo) Agg("bar", "baz") else Agg.empty)

@lihaoyi lihaoyi marked this pull request as ready for review May 20, 2023 23:31
@lihaoyi lihaoyi merged commit b8178b2 into com-lihaoyi:main May 20, 2023
@lefou lefou added this to the 0.11.0-M10 milestone May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants