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

Improve inspect #3916

Merged
merged 9 commits into from
Nov 9, 2024
Merged

Improve inspect #3916

merged 9 commits into from
Nov 9, 2024

Conversation

lefou
Copy link
Member

@lefou lefou commented Nov 7, 2024

  • Retain the full source location relative to the project directory.
  • Inherited Modules now show the full class names instead of just a short names without the package.
  • In debug mode, show all inherited modules, not only the directly declared ones.
  • Also show compile and runtime module dependencies
  • Reworked formatting for modules to be consistent with inspect for tasks
  • Added a test for inspect modules
sub(main/test/src/mill/main/MainModuleTests.scala:46)
    Sub module
 
Inherited Modules:    
    mill.define.TaskModule

Module Dependencies:
    sub.subSub

Default Task: sub.hello

Tasks (re-/defined):
    sub.hello

lefou added 3 commits November 7, 2024 05:16
* Retait the full source location relative to the project directory.
* Inherited Modules now show the full class names instead of just a short names without the package.
* In debug mode, show all inherited modules, not only the directly declared ones.
* Also show compile and runtime module dependencies
* Reworked formatting for modules to be consistent with inspect for tasks
@lefou lefou changed the title improve inspect module improve inspect Nov 7, 2024
@lefou lefou changed the title improve inspect Improve inspect Nov 7, 2024
@lefou lefou marked this pull request as ready for review November 7, 2024 15:12
@lefou lefou merged commit 2d31114 into com-lihaoyi:main Nov 9, 2024
14 checks passed
@lefou lefou deleted the improve-inspect-module branch November 9, 2024 07:47
@lefou lefou added this to the 0.12.2 milestone Nov 9, 2024
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.

2 participants