Why Nostr? What is Njump?
2025-05-29 12:33:09
in reply to

João Costa on Nostr: nprofile1q…u4x5y One of my issues with mill (which might be an issue on my end) is ...

One of my issues with mill (which might be an issue on my end) is that I don't find the discoverability of available tasks particularly great.
For example, say I want to test changes with testing (which is invalid).
sbt testing returns:

[error] Not a valid command: testing (similar: settings, session)
[error] Not a valid project ID: testing
[error] Expected ':'
[error] Not a valid key: testing (similar: testGrouping, test, testOnly)
[error] testing
[error]


scala-cli testing returns

[error] testing is not a scala-cli sub-command and it is not a valid path to an input file or directory.
Try viewing the relevant help to see the list of available sub-commands and options.
scala-cli --help


(with scala-cli --help showing the list of commands, including test)
Meanwhile, mill testing returns:

Cannot resolve testing. Try `mill resolve _` to see what's available.


But that command is not very helpful for noobs... For example, in oslib, I get:

clean
init
inspect
os
path
plan
resolve
show
showNamed
shutdown
version
visualize
visualizePlan



How do I test?
How do I compile?
Are those subprojects (e.g.os) or tasks (e.g. clean, init,...)?
Why is there no indication that I can do things like ./mill resolve os._ to get the subtasks?

Author Public Key
npub1dnu73kyya5th8ml2dw9m35znmgrnf688lnkxj8qzr8mysjtnhcwsedjnjd