Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a `visualize` command to render portions of the build graph as SVG (#349) | Li Haoyi | 2018-05-25 | 1 | -16/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Transitive reduction of visualized graph via jgrapht now works ``` out/dev/launcher/dest/run -i visualize __.compile _ out/dev/launcher/dest/run -i visualize core.__ ``` * Move test running logic from scalaworker into scalalib This is to try and reduce the size of the classpath we are passing to the test runner subprocess, in an attempt to fix the command-line-too-long errors we're getting in Appveyor. Now the test runner subprocess should no longer need Zinc or all of it's transitive dependencies * - Break out `GraphvizTools` into a separate Mill module, to avoid bloating the main jar and try to shorten the `MILL_SCALA_WORKER` classpath being sent to scalajslib.test (which is blowing up on windows as the CLI command is too long) - Move the meat of `resolveDependencies` from `scalalib` to `main`, to support resolving mill modules - DRY up resolution of mill modules in `Util.millProjectModule` * fix mill module resolution * Tweaks to try and make zinc work again... * Tweak `Module#reflect` to try and make it happy with `visualize` module... * fix integration test classpath * move visualization into it's own module | ||||
* | Enable JUnit testing, via sbt-test-interface, for `JavaModule`s | Li Haoyi | 2018-04-08 | 1 | -3/+1 |
| | |||||
* | avoid recursion | Li Haoyi | 2018-04-07 | 1 | -3/+1 |
| | |||||
* | clean up JavaModule/ScalaModule interactions and consolidate extensions into ↵ | Li Haoyi | 2018-04-07 | 1 | -2/+2 |
| | | | | new resolveFooDependency methods | ||||
* | bump upickle, ammonite versions | Li Haoyi | 2018-03-25 | 1 | -1/+5 |
| | |||||
* | Support scala milestone releases (with fixes for 2.13.0-M3) (#247) | Nikolay Tatarinov | 2018-03-20 | 1 | -11/+2 |
| | | | | | | | | | | * return full scala version for milestone releases * complete support for scala 2.13.0-M2 * match 2.13 milestone releases for compiler bridge sources * add hello world test case for scala 2.13.0-M3 | ||||
* | avoid showing a stack trace if the ScalaJSModule gives a linking error, ↵ | Li Haoyi | 2018-03-19 | 2 | -6/+6 |
| | | | | since the stdout will have the necessary information for debugging anyway | ||||
* | Java 9 optimization by caching rt.jar (#239) | Robby | 2018-03-19 | 2 | -5/+10 |
| | | | | | | | | | | | | | | * Upgraded Ammonite to 1.0.5-7-f032887 that includes a Java 9 performance optimization for mill's client-server mode (lihaoyi/Ammonite#773). * Java 9 optimization for interactive mode by caching rt.jar. * Refactored based on @lihaoyi's comments on #239. * Removed client side rt.jar caching. * Propagatio of home path from Cli. * Propagation, propagation, propagation! | ||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2018-03-18 | 2 | -10/+26 |
|\ | |||||
| * | Changes to make {clientserver,main,scalalib,scalajslib}.test work under Java ↵ | Robby | 2018-03-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | 9 (#217) * Append "exported rt.jar" when creating URLClassLoader. * Disabled tests involving Scala 2.10 & 2.11 and nashorn. * Use java.net.URLClassLoader. | ||||
| * | ScalaJSModule: Support to switch between NoModule and CommonJSModule ↵ | Lorenzo Gabriele | 2018-03-09 | 2 | -8/+24 |
| | | | | | | | | ModuleKinds (#212) | ||||
* | | Properly close Scala.js test adapters when done, after letting the IO drain ↵ | Li Haoyi | 2018-03-18 | 2 | -4/+10 |
|/ | | | | properly | ||||
* | Allows users to customize Node.js (Scala.js' NodeJSEnv) in ScalaJSModule (#195) | Robby | 2018-03-05 | 3 | -5/+22 |
| | | | | | | | | | | | | | | * 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. | ||||
* | make mainClass discovery work in ScalaJSModule#run | Li Haoyi | 2018-03-03 | 1 | -24/+17 |
| | | | | 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. | ||||
* | share repositories between ScalaWorker and ScalaModule | Li Haoyi | 2018-03-02 | 1 | -1/+1 |
| | |||||
* | Allow people to substitute in their own implementation of ↵ | Li Haoyi | 2018-03-02 | 1 | -1/+2 |
| | | | | ScalaModule#scalaWorker to configure resolvers/etc. | ||||
* | make scala.js work with multi-module projects (#165) | Nikolay Tatarinov | 2018-02-26 | 1 | -15/+10 |
| | |||||
* | A few attempts at micro-optimizing the current hot spots | Li Haoyi | 2018-02-25 | 1 | -1/+1 |
| | |||||
* | support multiple test frameworks (#148) | Nikolay Tatarinov | 2018-02-22 | 1 | -2/+2 |
| | | | support multiple test frameworks | ||||
* | - Fix UpickleTests' JS case when running forked | Li Haoyi | 2018-02-11 | 1 | -3/+3 |
| | | | | - Shard out forked/local integration tests over the different `test-mill-*.sh` scripts, to try and reduce test times while maintaining coverage | ||||
* | make test-mill-release run integration tests using the release assembly | Li Haoyi | 2018-02-11 | 1 | -1/+1 |
| | |||||
* | Properly pick up non-top-level sjsir files during `fastOptJS` | Li Haoyi | 2018-02-11 | 1 | -1/+1 |
| | |||||
* | Refactor ScalaModule to simplify it and delay ivy resolution until the last ↵ | Li Haoyi | 2018-02-11 | 1 | -5/+5 |
| | | | | moment | ||||
* | make ScalaJSModule override scalaLibraryDeps instead of overriding ivyDeps, ↵ | Li Haoyi | 2018-02-11 | 1 | -2/+1 |
| | | | | to reduce the change for conflict | ||||
* | WIP getting Scala.js dependencies working nicely | Li Haoyi | 2018-02-11 | 1 | -6/+6 |
| | |||||
* | fix jsbridges dependency | Li Haoyi | 2018-02-10 | 1 | -1/+1 |
| | |||||
* | Make ScalaJSModule avoid stomping over existing definitions | Li Haoyi | 2018-02-10 | 1 | -3/+8 |
| | |||||
* | Some long-overdue renamings | Li Haoyi | 2018-02-09 | 1 | -1/+1 |
| | |||||
* | scala.js run (#127) | Nikolay Tatarinov | 2018-02-09 | 2 | -0/+37 |
| | | | | scala.js run command | ||||
* | fix artifact naming for publishLocal/publish | Li Haoyi | 2018-02-04 | 1 | -1/+1 |
| | |||||
* | Add support for external modules, useful for things `GenIdea` support | Li Haoyi | 2018-02-04 | 1 | -0/+2 |
| | |||||
* | Fix `HelloJsWorld` tests | Li Haoyi | 2018-02-04 | 1 | -2/+3 |
| | |||||
* | Embed the `MILL_VERSION` to the `releaseAssembly` CLI flags so it knows ↵ | Li Haoyi | 2018-02-04 | 1 | -1/+1 |
| | | | | which version of the various Mill jars it needs to resolve from maven central | ||||
* | fix scalalib tests | Li Haoyi | 2018-02-03 | 1 | -1/+4 |
| | |||||
* | - Renamed `Ctx.FooCtx` => `Ctx.Foo` | Li Haoyi | 2018-02-02 | 1 | -1/+1 |
| | | | | - Remove un-used `Evaluator#millSourcePath` parameter | ||||
* | compile zinc compiler bridges on demand to remove restriction on supported ↵ | Li Haoyi | 2018-02-02 | 1 | -2/+0 |
| | | | | scala versions | ||||
* | Move `ScalaWorkerApi`/`ScalaJSBridge` over to new `ExternalModule` class | Li Haoyi | 2018-02-02 | 1 | -1/+1 |
| | | | | Also add a simple unit to validate that you can use `ExternalModule`s as part of a build, and that the | ||||
* | WIP: Scala js testing (#119) | Nikolay Tatarinov | 2018-02-01 | 2 | -55/+134 |
| | | | fixes #102. Use scala js testing framework to launch tests | ||||
* | Make `idea` task work with releaseAssembly and publishLocal | Li Haoyi | 2018-01-27 | 1 | -1/+2 |
| | |||||
* | Migrate `scalajslib` over to a `T.worker` setup similar to `scalalib` | Li Haoyi | 2018-01-25 | 3 | -89/+109 |
| | |||||
* | Swap over to simplified Mill module/source layout from SBT's | Li Haoyi | 2018-01-20 | 5 | -167/+0 |
| | | | | 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 | ||||
* | - Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependencies | Li Haoyi | 2018-01-15 | 1 | -2/+2 |
| | | | | | | - `projectDeps` is now `moduleDeps` for compatibility with our `Module` terminology - `scalalib.Module` is now `ScalaModule` for compatibility with `import scalalib._` | ||||
* | - Collapse `Ctx#segments` and `Ctx#segments0` into one field, instead doing ↵ | Li Haoyi | 2018-01-15 | 1 | -3/+3 |
| | | | | the prefix-stripping up-front in `BaseModule` | ||||
* | Some tweaks to get tests passing... | Li Haoyi | 2018-01-14 | 1 | -15/+17 |
| | |||||
* | Everything seems to compile with new, minimal `Discover` implementation... | Li Haoyi | 2018-01-14 | 1 | -2/+1 |
| | |||||
* | rename OSet -> Agg | Li Haoyi | 2018-01-13 | 2 | -6/+6 |
| | |||||
* | Migrate most classpath-related code onto `Loose.OSet` abstraction, to ↵ | Li Haoyi | 2018-01-13 | 2 | -9/+16 |
| | | | | enforce deduplication | ||||
* | Consolidate `Cross` and `CrossModule`, eliminate now-unused ↵ | Li Haoyi | 2018-01-08 | 1 | -2/+1 |
| | | | | `map`/`flatMap`/`filter` APIs | ||||
* | Swap over to a new, concise `CrossModule[T](..cases)` macro syntax that ↵ | Li Haoyi | 2018-01-07 | 1 | -6/+4 |
| | | | | automatically propagates the `ctx` for you | ||||
* | Generate the `Segments` list at definition time rather than discovery time, ↵ | Li Haoyi | 2018-01-07 | 1 | -6/+11 |
| | | | | | | | | 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 |