-
Notifications
You must be signed in to change notification settings - Fork 125
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
Provide proper logger for using directives plus Tweaking #618
Conversation
db2550c
to
8965306
Compare
This is useful when developing on any of the stubs modules (stubs, runner, test-runner), but this triggers a recompilation of build very often. This is now disabled by default. When developing on the stubs modules, set `local-repo`.developingOnStubModules to true in build.sc, for Mill's watch mode to take into account changes in them.
8965306
to
7aa1db7
Compare
Their values are not used during compilation or by Bloop, so no need to use them to make Bloop working directories unique.
7aa1db7
to
e43844d
Compare
a118f46
to
557355c
Compare
* set this to true, so that Mill's watch mode takes into account changes in those modules | ||
* when embedding their JARs in the Scala CLI launcher. | ||
*/ | ||
def developingOnStubModules = false |
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.
Should we add similar comment to ReadME.md?
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.
We can apply my comments in the follow up. The only problem I see is that it will conflict with #639
val directive: StrictDirective | ||
) extends BuildException( | ||
s"Expected a value for directive ${directive.key}", | ||
positions = Nil // I wish using_directives provided the key position… |
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.
Directives provide positions so it is a matter of wiring it up
These are small adjustments / refactorings, that I made while working on adding a
publish
command.