sbt / sbt-projectmatrix

MIT License
124 stars 14 forks source link

Make the generated subproject self-aware about its own virtual axes #36

Closed keynmol closed 3 years ago

keynmol commented 4 years ago

I thought that it would be useful for, say, defining project-wide settings that vary depending on the platform.

Having access to all of the axes can help separate the settings from the raw project matrix definition.

If this doesn't fit with projectmatrix vision, I'm happy not to pursue and just add the recommended approach (once I know it) to the documentation :)

TODO:

eed3si9n commented 4 years ago

So you want to make the subproject self-aware about their virtual axes? I think that's a great idea.

keynmol commented 4 years ago

Seems like the test on native has been failing before these changes: https://github.com/sbt/sbt-projectmatrix/runs/1371093404

I'm gonna try to track it down with the lovely folks from SN: https://gitter.im/scala-native/scala-native?at=5fb676fbc10273610a15bdba

UPDATE: doesn't seem to be related to projectmatrix, I've reproduced it in https://github.com/scala-native/scala-native/issues/2024 on a regular build