| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
enforce deduplication
|
| |
|
|
|
|
| |
Also properly propagate `mainClass` into `assembly`
|
|
|
|
| |
cross-coordinates which are compatible with a given implicit resolver
|
|
|
|
| |
implement `CrossSbtModule` that works with `scala-2.10/` `scala-2.11/` etc. folders
|
|
|
|
|
| |
- Logger now prints a newline when transitioning to ticker-mode, to avoid over-writing anything on the current line
- Consolidate `scalalib.Module` logic around `assemblyClasspath`
|
|
|
|
| |
classloaders used for running tests
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add generated source
* naming
* multiple content root
* no message
* fix output classes path
|
| |
|
|
|
|
| |
data-type
|
|
|
|
| |
`map`/`flatMap`/`filter` APIs
|
|
|
|
| |
automatically propagates the `ctx` for you
|
|
|
|
|
|
|
|
| |
by propagating implicits throughout the tree of nested `mill.Module`s
This currently adds some annoying boilerplate to the definition of cross/abstract modules, which can probably be removed using Macros.
The `Segments` mapping generated by discovery is still present and used in a few places, though it will be removed
|
| |
|
|
|
|
| |
making changes within them get picked up by the file-watching `~compile`/`~test` commands
|
|
|
|
|
|
|
|
| |
hierarchy, which each module receives and extends.
One constraint is that now must define your abstract modules as `trait`s rather than `class`es, or otherwise add an implicit `ctx: ModuleCtx` parameter to your class definition.
So far this lets us remove some explicit `basePath` definitions in `build.sc`. Proper handling of `basePath` in `CrossModule`s is future work
|
|
|
|
| |
for the shown JSON blob
|
|
|
| |
* Fix #99 - it's required to provide sbt.testing.Selector for scalatest
|
|
|
|
| |
console
|
| |
|
|
|
|
| |
`Module`s/`Target`s/`Cross`s in the Mill REPL, making use of `sourcecode.*` values captured and definition-site and contextual information made available in the build `Mirror`
|
|
|
|
| |
offending stack trace so they're easier to debug
|
|
|
|
| |
stderr/stdout map to the various `Logger` levels, but for now this shuts up the integration tests
|
| |
|
|
|
|
|
|
| |
sensitive to working directories
Make `run` and `runMain` take option CLI args
|
| |
|
| |
|
|
|
|
|
|
| |
Those tests now download a snapshot of the relevant git repo rather than vendoring the files, and use a bare `build.sc` instead of having the build object be included in the test classpath.
Tests pass using `sbt integration/test`, but `mill integration.test` still doesn't work
|
|
|
|
| |
`T.source` to behave as before but `T.input` can be used for other things. Fixes https://github.com/lihaoyi/mill/issues/77
|
|
|
|
|
|
| |
- Prepare `T.ctx().base: Path` that `Task`s (including `T.source`) can use to find a "default" path for source files.
- Simplify `Cacher`
|
|
`ScalaPlugin` -> `scalalib`, to avoid confusion with Scala compiler plugins
`ScalaModule` -> `module`, to be used via `scalalib.Module`, avoid unnecessary duplication in th name prefix
`plugin` -> `moduledefs`, to more accurately describe what it does (since it includes `Cacher` as well)
|