Skip to content
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

Merged
merged 9 commits into from
Feb 9, 2022

Conversation

alexarchambault
Copy link
Contributor

These are small adjustments / refactorings, that I made while working on adding a publish command.

- unused param
- stale comment
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.
Their values are not used during compilation or by Bloop, so no need
to use them to make Bloop working directories unique.
* 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
Copy link
Member

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?

Copy link
Member

@romanowski romanowski left a 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…
Copy link
Member

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

@romanowski romanowski merged commit 0cc4347 into VirtusLab:main Feb 9, 2022
@alexarchambault alexarchambault deleted the tweaking branch February 9, 2022 11:02
@romanowski romanowski changed the title Tweaking Provide proper logger for using directives plus Tweaking Feb 9, 2022
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.

None yet

2 participants