-
Notifications
You must be signed in to change notification settings - Fork 129
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
Support declaring some test directives from the main scope #2046
Conversation
5b19909
to
b71694d
Compare
43a0ab8
to
7239d47
Compare
7038a03
to
c484b03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add explanation in the directive guide about the test.
prefix, and include a list of the available options.
modules/build/src/main/scala/scala/build/preprocessing/PreprocessingUtil.scala
Show resolved
Hide resolved
@lwronski I'll do a followup PR with refactorings and docs, don't want to make this one bigger |
Fixes #1729
Some select directives (and not others) can now be declared for the test scope even in main scope sources.
Those now support a separate key with the
test.*
prefix, indicating the test scope target.The recommended location for declaring such directives would be the optional
project.scala
configuration file.Directives supporting this feature: