Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Explicitly pass built compiler-bridge jar locations from the build system ↵ | Li Haoyi | 2017-12-06 | 2 | -10/+16 |
| | | | | | | | | into Mill as JVM properties. This makes the dependency between the compiler-bridge jar and the Mill executable explicit, allowing us to swap out the locations compiler-bridge jars (which end up in different places, depending on whether you're building with SBT or Mill) or eventually making them load from Maven Central in a "release" Mill executable Since Mill (and uTest) both do not support SBT-style test arguments, we need to use `forkTest` instead of `test` to run the Mill tests passing the compiler-jar locations as JVM props. This necessitated some fixes to make `forkTest` behave properly | ||||
* | Hackily speed up repeated Scala compiles by keeping a global cache of hot ↵ | Li Haoyi | 2017-12-05 | 2 | -23/+12 |
| | | | | ScalaInstance/Classloader instances around between compiles | ||||
* | merge cross-bridge into master | Li Haoyi | 2017-12-05 | 6 | -82/+95 |
|\ | |||||
| * | Avoid `inheritIO` in `Jvm.subprocess`, and instead feed it into the proper ↵ | Li Haoyi | 2017-12-04 | 1 | -3/+3 |
| | | | | | | | | `log.outputStream` | ||||
| * | Standardize on a `mill.util.Logger` class | Li Haoyi | 2017-12-04 | 4 | -16/+22 |
| | | |||||
| * | Make more stuff use the implicit `T.ctx()` | Li Haoyi | 2017-12-04 | 1 | -3/+1 |
| | | |||||
| * | - Make `T.ctx()` available implicitly | Li Haoyi | 2017-12-04 | 1 | -15/+13 |
| | | | | | | | | | | - Convert `ScalaModule.{compile,assembly}` to use the new implicit `T.ctx()` - Add a `log: PrintStream` to the `T.ctx()`, in preparation for per-task logging | ||||
| * | Update test case | Li Haoyi | 2017-12-04 | 1 | -1/+1 |
| | | |||||
| * | Flesh out `bridges` pre-compilation in Mill build, getting the ↵ | Li Haoyi | 2017-12-04 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | cross-minor-version `AcyclicTests` running using the `mill` test runner Fixed `Discovered` to only pick up public `Target`s, which makes it skip things like the `super$compile` of an overriden `compile` target. Split up `sources` and `allSources` TBD how to properly switch the `compilerBridgeJar` between the different output paths of SBT's compile-dir and Mill's compile-dir, and eventually to a maven-central artifact too | ||||
| * | Cross building acyclic now works, using a locally compiled cross-versioned ↵ | Li Haoyi | 2017-12-04 | 2 | -4/+15 |
| | | | | | | | | | | | | compiler-bridge.jar. For now just hardcode the Scala versions we want to support as part of the build; we can figure out how to do the runtime download&compile thing later | ||||
* | | swap run and runMain commands | rockjam | 2017-11-30 | 2 | -9/+9 |
| | | |||||
* | | implment runMain command | rockjam | 2017-11-30 | 2 | -1/+29 |
| | | |||||
* | | mainClass support | rockjam | 2017-11-30 | 2 | -2/+23 |
|/ | |||||
* | first pass at building better-files using Mill | Li Haoyi | 2017-11-29 | 41 | -0/+6014 |
| | |||||
* | - Re-enable zinc compiler cache, since the OOMing it used to cause seems to ↵ | Li Haoyi | 2017-11-28 | 1 | -40/+66 |
| | | | | | | | | have gone away (???) - DRY up our dependency resolution code in `ScalaModule` with a `resolveDeps` helper - Separate `scalaCompilerClasspath` from `compileClasspath`, and only pass `scalaCompilerClasspath` to the Zinc classloader | ||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-27 | 5 | -20/+279 |
|\ | |||||
| * | fix #8 simple 'hello world' scala module with tests on it; extract test ↵ | Nikolay Tatarinov | 2017-11-27 | 5 | -20/+279 |
| | | | | | | | | evaluator (#30) | ||||
* | | Acyclic cross-version tests are running | Li Haoyi | 2017-11-27 | 2 | -9/+38 |
|/ | |||||
* | Tweak readme, fix SBT executable assembly prefix | Li Haoyi | 2017-11-27 | 1 | -8/+9 |
| | |||||
* | Get acyclic's tests running after compilation failures, fixing a ↵ | Li Haoyi | 2017-11-26 | 2 | -13/+6 |
| | | | | metadata.mill.json invalidation bug | ||||
* | Acyclic test suite works now that we can fork and set a proper working ↵ | Li Haoyi | 2017-11-26 | 3 | -32/+85 |
| | | | | directory, but only when run alone (???) | ||||
* | Isolate TestRunner classloader to try and get AcyclicTests working... | Li Haoyi | 2017-11-26 | 2 | -3/+5 |
| | |||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-26 | 1 | -2/+2 |
|\ | |||||
| * | upgrade zinc 1.0.3 -> 1.0.5 (#26) | Nikolay Tatarinov | 2017-11-26 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-26 | 1 | -26/+25 |
|\| | |||||
| * | Cleaner logging of Zinc activities. (#25) | Iulian Dragos | 2017-11-26 | 1 | -12/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Bust caches when the build itself has changed. Use the Ammonite classloader to check if the classpath has changed Fix #7 * Cleaner logging of Zinc activities. Removed printlns and bumped up the Zinc log level to Info. This show the nice `Compiling <n> Scala sources` messages, and the useless `Done compiling` line at the end. | ||||
| * | pass scalacOptions and javacOptions to compile (#23) | Nikolay Tatarinov | 2017-11-26 | 1 | -3/+14 |
| | | |||||
| * | fix console command in scala plugin; use subprocess for run (#21) | Nikolay Tatarinov | 2017-11-26 | 1 | -11/+7 |
| | | |||||
* | | WIP getting Acyclic build working in Mill. Test suite doesn't work, neither ↵ | Li Haoyi | 2017-11-26 | 2 | -119/+98 |
|/ | | | | does non-2.12 versions of Scala, but compiling the main code on 2.12 works | ||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-26 | 1 | -5/+8 |
|\ | |||||
| * | fix #6 include project classes to incremental compilation classpath (#20) | Nikolay Tatarinov | 2017-11-26 | 1 | -5/+8 |
| | | |||||
* | | bring back ScalaModule#run, bring back TaskModule now with a new ↵ | Li Haoyi | 2017-11-26 | 1 | -4/+11 |
|/ | | | | defaultCommandName member | ||||
* | Remove `TaskModule`, make default-task selection to be by-name (tentatively ↵ | Li Haoyi | 2017-11-25 | 2 | -14/+8 |
| | | | | | | | | | | hardcoded to `run`) so we can pass CLI arguments to the default run tasks Forward CLI arguments to the `TestModule#run` command; you can now select what tests you want to run using uTest, via: ``` mill run Core.test mill.define.ApplicativeTests ``` | ||||
* | - Make `Discovered` logic use the public getter of a `val` field, instead of ↵ | Li Haoyi | 2017-11-25 | 1 | -1/+1 |
| | | | | | | | | the private backing-field (which seems to end with a whitespace, and doesn't seem to exist for fields defined in anonynomous classes e.g. `new { val x = 1 }` - Re-enable `mill.main.MainTests.nested` - Share test graphs between `CrossModuleTests`, `DiscoveredTests` and `MainTests` | ||||
* | Swap over to using `java.nio` APIs to make self-executable jars, instead of ↵ | Li Haoyi | 2017-11-25 | 1 | -1/+1 |
| | | | | shelling out to `chmod` | ||||
* | Allow the definition of a prependShellScript in a ScalaModule (#13) | André Duarte | 2017-11-25 | 1 | -1/+9 |
| | |||||
* | First pass at simplifying test suite definition & running | Li Haoyi | 2017-11-25 | 1 | -2/+5 |
| | | | | | | Added a `TaskModule` subclass of `Module`, which delegates to a `self` task that you can run directly from bash Fixed `GenIdea` to fix reversing of module path in generating module name | ||||
* | First pass at simplifying test suite definition & running | Li Haoyi | 2017-11-25 | 2 | -7/+23 |
| | | | | Fixed `GenIdea` to fix reversing of module path in generating module name | ||||
* | Fix idea project generation again... | Li Haoyi | 2017-11-23 | 1 | -1/+1 |
| | |||||
* | unwrap Segments when generating Intellij project files | Li Haoyi | 2017-11-23 | 1 | -2/+3 |
| | |||||
* | Targets living in cross modules can now be properly discovered, run and cached. | Li Haoyi | 2017-11-22 | 1 | -2/+2 |
| | | | | | | | | Try out the following commands on our Mill `build.sc` file to exercise this functionality - `scalaplugin/target/mill run Core.cross[jarA].jar` - `scalaplugin/target/mill run Core.cross[jarB].jar` - `scalaplugin/target/mill run Core.cross[jarC].jar` | ||||
* | First hack pass at cross-build discovery and command-running now works. | Li Haoyi | 2017-11-18 | 1 | -1/+1 |
| | | | | | | Can be tested out on our `build.sc` via `scalaplugin/target/mill run Core.cross[a].printIt` Needs tons of cleanup... | ||||
* | Inject logging callback into Evaluator, so we can silence the logging in our ↵ | Li Haoyi | 2017-11-18 | 1 | -1/+1 |
| | | | | unit tests | ||||
* | Tweak implicits to make `build.sc` pass again | Li Haoyi | 2017-11-18 | 1 | -6/+14 |
| | |||||
* | Refactor `Evaluator` implementation to reduce the number of "unsafe" map lookups | Li Haoyi | 2017-11-18 | 1 | -1/+2 |
| | |||||
* | Implement `T.persistent{}` targets, which have their dest directory persist ↵ | Li Haoyi | 2017-11-18 | 1 | -55/+97 |
| | | | | between runs so the task implementation can use it as a cache | ||||
* | Cleanup | Li Haoyi | 2017-11-18 | 1 | -3/+3 |
| | |||||
* | Extract out shared `Hierarchy.traverse` function for walking `Hierarchy` tree | Li Haoyi | 2017-11-18 | 2 | -12/+8 |
| | |||||
* | Tweak example acyclic cross-build to show off cross-dependencies | Li Haoyi | 2017-11-16 | 1 | -14/+17 |
| | |||||
* | Vendor `com.lihaoyi:acyclic` codebase as a cross-building example, first ↵ | Li Haoyi | 2017-11-16 | 62 | -7/+1032 |
| | | | | non-working experiments in cross building working... |