Skip to content

How to run resolve, inspect or show in mill repl? #2067

Answered by lefou
jk-1 asked this question in Q&A
Discussion options

You must be logged in to vote

According to this issue, #418, you can use replyApplyHandler.evaluator to get access to the needed Evaluator instance.

Example:

mill --repl
Loading...
Mill Build Tool, version 0.10.8
@ resolve(replApplyHandler.evaluator, "_")() 
[1/1] resolve 
all
assembly
bsp
clean
contrib
dev
docs
init
inspect
installLocal
integration
launcher
main
millBinPlatform
millBootstrap
millLastTag
millVersion
par
path
plan
resolve
scalajslib
scalalib
scalanativelib
show
showNamed
shutdown
shutdown
testrunner
uploadToGithub
validate
version
version
visualize
visualizePlan
res0: List[String] = List(
  "bsp",
  "contrib",
  "dev",
  "docs",
  "integration",
  "main",
  "scalajslib",
  "scalalib",
  "scalanativelib",…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jk-1
Comment options

Answer selected by jk-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants