-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Labels
MillIssues tied to Mill, the build tool.Issues tied to Mill, the build tool.exportissues tied to the export sub-commandissues tied to the export sub-command
Description
I can't tell, if it's just the documentation or the whole feature, but the shown generated Mill projects looks outdated.
The page: https://scala-cli.virtuslab.org/docs/commands/export/
A screenshot:
The following issue are obvious:
- The file is
build.sc
, while Mill since version 0.12 defaults tobuild.mill
. Currently Mill 1.0.5 is the latest stable version - The
object test extends Tests
definition was deprecated in Mill 0.12 and will not work for Mill 1.0. Instead it should beobject test extends ScalaTests
. - The explicit addition of the dependency
os-lib
in thetest
module seems redundant, since it is already defined in the main project and thetest
module depends on the main module, so it will be resolved transitively - The mentioned bootstrap script
millw
from the linked projectlefou/millw
is archived. The script is now part of Mill itself. - While the generated
.mill-version
file still works, using a//| mill-version: 1.0.5
YAML header in thebuild.mill
file should be preferred. This also shows the version to the reader of the listing, making it more obvious which Mill version is targetted by thebuild.mill
.
Generally, the shown examples should mention the used versions, so the pages can age better.
Metadata
Metadata
Assignees
Labels
MillIssues tied to Mill, the build tool.Issues tied to Mill, the build tool.exportissues tied to the export sub-commandissues tied to the export sub-command