summaryrefslogtreecommitdiff
path: root/scalalib
Commit message (Collapse)AuthorAgeFilesLines
* Fix `idea` project generation, and make `Result.Exception` display the ↵Li Haoyi2018-01-011-5/+5
| | | | offending stack trace so they're easier to debug
* Pipe in stdin and stderr. We still need to figure out a policy for how ↵Li Haoyi2018-01-012-4/+4
| | | | stderr/stdout map to the various `Logger` levels, but for now this shuts up the integration tests
* Properly handle `isModule` flag on `sbt.testing.FingerPrint`Li Haoyi2018-01-011-0/+3
|
* Make `HelloWorldTests` take an explicit output path so they are less ↵Li Haoyi2018-01-013-11/+21
| | | | | | sensitive to working directories Make `run` and `runMain` take option CLI args
* Properly set the context classloader inside `TestRunner`'s `ClassLoader`Li Haoyi2018-01-011-47/+54
|
* Make `forkArgs` work with `run` and `runMain`Li Haoyi2018-01-011-4/+14
|
* Split Acyclic/Jawn/BetterFiles tests into their own `integration/` test suite.Li Haoyi2018-01-01163-11544/+15
| | | | | | 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
* Split out generic `T.input` tasks from the `T.source` helpers, allowing ↵Li Haoyi2017-12-311-6/+6
| | | | `T.source` to behave as before but `T.input` can be used for other things. Fixes https://github.com/lihaoyi/mill/issues/77
* - Convert `T.source` into a generic `Target` that flushes the cache every timeLi Haoyi2017-12-317-36/+40
| | | | | | - Prepare `T.ctx().base: Path` that `Task`s (including `T.source`) can use to find a "default" path for source files. - Simplify `Cacher`
* `Core` -> `core`, for consistency with SBT naming schemesLi Haoyi2017-12-30177-0/+13430
`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)