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

Nicer format of inspect for multiple targets #1812

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

lefou
Copy link
Member

@lefou lefou commented Apr 3, 2022

We now separate the output for multiple targets with a blank line.

Before:

± mill inspect main.compile main.compileClasspath
Compiling /home/lefou/work/opensource/mill/build.sc
[1/1] inspect 
main.compile(ScalaModule.scala:195)
    Compiles the current module to generate compiled classfiles/bytecode

Inputs:
    main.scalaVersion
    main.upstreamCompileOutput
    main.allSourceFiles
    main.compileClasspath
    main.javacOptions
    main.scalaOrganization
    main.allScalacOptions
    main.scalaCompilerClasspath
    main.scalacPluginClasspath
main.compileClasspath(JavaModule.scala:306)
    All classfiles and resources from upstream modules and dependencies
    necessary to compile this module

Inputs:
    main.transitiveLocalClasspath
    main.unmanagedClasspath
    main.resolvedIvyDeps

After:

± dev-mill -i inspect main.compile main.compileClasspath
Compiling /home/lefou/work/opensource/mill/build.sc
[1/1] inspect 
main.compile(ScalaModule.scala:195)
    Compiles the current module to generate compiled classfiles/bytecode

Inputs:
    main.scalaVersion
    main.upstreamCompileOutput
    main.allSourceFiles
    main.compileClasspath
    main.javacOptions
    main.scalaOrganization
    main.allScalacOptions
    main.scalaCompilerClasspath
    main.scalacPluginClasspath

main.compileClasspath(JavaModule.scala:306)
    All classfiles and resources from upstream modules and dependencies
    necessary to compile this module

Inputs:
    main.transitiveLocalClasspath
    main.unmanagedClasspath
    main.resolvedIvyDeps


@lefou lefou merged commit c4bd339 into com-lihaoyi:main Apr 4, 2022
@lefou lefou deleted the format-inspect branch April 4, 2022 08:55
@lefou lefou added this to the after 0.10.2 milestone Apr 4, 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.

1 participant