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

Build cleanup and Mill update to 0.11.5 #39

Merged
merged 4 commits into from
Nov 21, 2023
Merged

Conversation

lefou
Copy link

@lefou lefou commented Nov 18, 2023

This PR simplifies test helper code. This especially avoids defining a T.command inside of a inner class which does not extend mill.define.Module.

I also removed some recursive logic by reusing the upstream transitiveModuleDeps, which is itself tail recursive and properly checked for cycles.

And last but not least, I identified a workaround to com-lihaoyi/mill#2844 (see com-lihaoyi/mill#2844 (comment)) and took the opportunity to bump Mill to 0.11.5.

This also avoids defining a `T.command` inside of a class which does not extend `mill.define.Module`.
This not only makes them accessible from the CLI, it also fixes an issue with Mill 0.11.{2-5}.

See com-lihaoyi/mill#2844
@lefou lefou changed the title Build cleanup Build cleanup and Mill update to 0.11.5 Nov 18, 2023
Copy link
Member

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the help! This is very much appreciated

@tgodzik tgodzik merged commit 2decb5b into VirtusLab:main Nov 21, 2023
7 checks passed
@lefou lefou deleted the cleanup-build branch November 21, 2023 14:19
@MaciejG604 MaciejG604 mentioned this pull request Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants