-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Also support the test configuration #186
Comments
Sure. I'd be happy to review a PR if you are up for sending one :) |
I've needed this before too. My workaround has been to create a new, no-publish sub-project to enable |
IMHO the main challenge is the interface: Currently, A good interface would be to drop the default value of However, this comes with major compatibility issues for existing builds:
Similar arguments apply to other keys (package, object name). An alternative would be to introduce |
We are starting to use sbt-buildinfo in Scala.js core (scala-js/scala-js#4660) to replace a hand-built version of it.
However, we mostly need this in the test configuration. We can currently achieve this by:
BuildInfoPlugin
BuildInfoPlugin.buildInfoDefaultSettings
,BuildInfoPlugin.buildInfoScopedSettings(Test)
to the relevant project's setting.Should we add an "official" way of doing this?
The text was updated successfully, but these errors were encountered: