summaryrefslogtreecommitdiff
path: root/main/api
Commit message (Collapse)AuthorAgeFilesLines
* Changed JSON encoding for StackTraceElement (filename is nullable) (#691)Tobias Roeser2019-09-101-2/+2
| | | Fixes https://github.com/lihaoyi/mill/issues/690
* Fixed incorrect commentTobias Roeser2019-02-231-1/+4
|
* Splitted IO.scala to avoid cyclic referencesTobias Roeser2019-02-193-33/+40
|
* Documented some mill.api classesTobias Roeser2019-02-194-100/+146
|
* Introduced new failFast parameter to Evaluator with default `true`Tobias Roeser2018-12-211-0/+7
| | | | Added Aborted result type.
* Detailed the difference between Failure and ExceptionTobias Roeser2018-12-201-1/+9
|
* Added some docs to result typeTobias Roeser2018-12-201-9/+35
|
* Generalize Zinc Worker (#514)Li Haoyi2018-12-181-0/+44
| | | | | | | | | | | | | | | | | | | | | | * Generalize Zinc worker - Compiler bridges can now be either pre-compiled or on-demand-compiled - Scala library/compiler jar discovery is now configurable - Zinc compiler cache is now configurable, rather than being hardcoded at n=1 * . * update constructor args * remove duplicate util/AggWrapper.scala file * fix * fix * fix * cleanup
* First pass at splitting out worker-api from mill core. (#504)Li Haoyi2018-12-129-0/+659
This reduces the {scala,scalajs,scalanative}-worker dependency from the entirety of Mill to a much narrower `mill.api` module. This reduces the amount of classpath pollution within these workers, should mean they're much faster to download the first time, and reduces the amount of random junk they would pull in if they were to be used outside of the Mill project. The interactions between the various *Modules and their *WorkerImpls has been narrowed down to the `*.api` modules, which only depend on other `*.api` modules. A lot of things have been moved around; user code is unlikely to break, but it's possible some will if it references classes that have been moved around. Forwarders have been left for the few internal classes that Mill uses in it's own `build.sc`, to support bootstrapping. Third-party code which breaks should be a straightforward to fix just by updating imports The `*.api` modules have minimal dependencies (mostly uPickle and os-lib) and minimal code. There is still a bunch of implementation code in there: some of it defining data-types that are commonly sent across the module/worker interface (`Agg`, `PathRef`, ...), and some of it just general helper functions that are needed both in modules and workers. The latter code isn't strictly API definitions, but for now is small enough it's not worth splitting into it's own module