summaryrefslogtreecommitdiff
path: root/integration/test/resources/ammonite/build.sc
Commit message (Collapse)AuthorAgeFilesLines
* First pass at splitting out worker-api from mill core. (#504)Li Haoyi2018-12-121-2/+2
| | | | | | | | | 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
* fix testsLi Haoyi2018-12-121-1/+1
|
* mergeLi Haoyi2018-11-061-17/+1
|\
* | bump ammonite integration test version, remove 2.11.8 build since it blows ↵Li Haoyi2018-11-061-34/+195
| | | | | | | | up mysteriously
* | WIP migrating over from `ammonite.ops` to `os` module.Li Haoyi2018-11-051-2/+2
|/ | | | __.compile works, haven't run tests yet
* Add support for Dotty projects (#397)Guillaume Martres2018-08-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Abstract over the scala compiler organization * Support using a locally published compiler Publishing locally with sbt means publishing ivy-style, which uses a different naming convention than maven, we now handle both cases. * Add minimal support for Dotty projects * Rewrite scalalib.Dep, introduce scalalib.CrossVersion Instead of Dep being a trait with three cases (Java/Scala/Point), it is now a case class where the cross field is an instance of the CrossVersion trait which has three cases (Constant/Binary/Full). This is more versatile since it allows for non-empty constant suffixes which will be used to implement withDottyCompat in the next commit. It's also a cleaner separation of concerns. We also deduplicate various pieces of codes that computed the artifact name: this is now always handled in Dep and CrossVersion. * Add simple way to use Scala 2 deps in a Dotty project This is similar to the withDottyCompat method in the sbt-dotty plugin. * Turn off the Dotty test on Java >= 9
* support multiple test frameworks (#148)Nikolay Tatarinov2018-02-221-3/+3
| | | support multiple test frameworks
* fixesLi Haoyi2018-02-111-3/+11
|
* more tidying upLi Haoyi2018-02-111-1/+1
|
* Test fixes...Li Haoyi2018-02-041-6/+5
|
* - Rename `basePath` -> `millSourcePath`Li Haoyi2018-02-021-1/+1
| | | | - Make `T.worker`s not flush out their directories between instantiations
* First incomplete pass at writing docsLi Haoyi2018-01-271-5/+0
|
* - Make `forkTest` and `forkRun` the default, renaming `test` and `run` to ↵Li Haoyi2018-01-211-4/+9
| | | | | | | | | | | | `testLocal` and `runLocal` - Support passing `forkEnv` parameters to `test` and `run`, necessary to get Ammonite working - Standardize signatures of `Jvm.interactiveSubprocess`/`Jvm.subprocess` - `Jvm.inprocess` is now `Jvm.runLocal` - Swap `TestModule.testLocal` over to using `Jvm.runLocal`, for consistency with everything else
* Swap over to simplified Mill module/source layout from SBT'sLi Haoyi2018-01-201-0/+177
Removes a lot of useless folders and gives us a chance to exercise this simplified layout. Support for the SBT layout is still verified by our integration tests