| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* collapse boilerplate folder structure within src/ folders
* .
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
__.compile works, haven't run tests yet
|
|
|
|
|
|
|
|
|
|
| |
9 (#217)
* Append "exported rt.jar" when creating URLClassLoader.
* Disabled tests involving Scala 2.10 & 2.11 and nashorn.
* Use java.net.URLClassLoader.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Adds Node.js configuration in ScalaJSModule.
* Adds Node.js configuration in ScalaJSModule test framework.
* Refactored ScalaJSBridge Node.js env creation.
* Readjusted ScalaJSBridge 0.6 formatting.
* Added Node.js config tests.
* Removed NodeJSConfig ScalaTest tests and improved log test conditions.
|
| |
|
|
|
|
| |
Also disable ScalaJSModule#runMain, since the official Scala.js-SBT plugin does not support it and it requires an expensive re-linking every time it is run.
|
|
|
| |
The scm url syntax is a source of confusion for developper. I added VersionControl.github() to simplify this process. We can add other common VersionControl url scheme like Bazar, etc.
|
|
|
|
|
|
| |
* Add predefined licenses from spdx
* Fix License usages
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
support multiple test frameworks
|
| |
|
|
|
|
| |
scala.js run command
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
`utest.framework.TestPath`
|
|
|
|
| |
- Remove un-used `Evaluator#millSourcePath` parameter
|
|
|
|
| |
- Make `T.worker`s not flush out their directories between instantiations
|
|
|
|
| |
scala versions
|
|
|
| |
fixes #102. Use scala js testing framework to launch tests
|
|
|
|
| |
Also avoid passing around `Discover` and `Evaluator` together, since the latter already contains the former
|
|
|
|
| |
to validate the `dest` paths of overriden commands and overriden targets
|
| |
|
|
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
|