Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | - Make `T.ctx()` available implicitly | Li Haoyi | 2017-12-04 | 10 | -68/+100 | |
| | | | | | | | | | | - 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 | 6 | -26/+59 | |
| | | | | | | | | | | | | | | | | | | | | 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 | 4 | -5/+88 | |
| | | | | | | | | | | | | 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 | |||||
* | | Merge pull request #35 from lihaoyi/mainClass | Nikolay Tatarinov | 2017-11-30 | 2 | -7/+56 | |
|\ \ | |/ |/| | Main class | |||||
| * | 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 | |
|/ | ||||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-29 | 1 | -1/+1 | |
|\ | ||||||
| * | Pass `$JAVA_OPTS` to the JVM (#34) | Iulian Dragos | 2017-11-29 | 1 | -1/+1 | |
| | | | | | | This allows an easy way to hook an external debugger via -agentlib. JAVA_OPTS is picked up by both Scala and Sbt, so it seems an easy win. | |||||
* | | 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 | 4 | -10/+165 | |
| | ||||||
* | Fix error messages on resolving cross-built modules and re-enable relevant ↵ | Li Haoyi | 2017-11-26 | 2 | -3/+11 | |
| | | | | neg tests | |||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-26 | 1 | -1/+3 | |
|\ | ||||||
| * | Check owner of method instead of linear search (#28) | Iulian Dragos | 2017-11-26 | 1 | -1/+3 | |
| | | | | | | Inherited methods from Object can be checked for owner instead of looking at the name of the method. This should be cleaner and faster, though probably below the margin of error at this point. | |||||
* | | Get acyclic's tests running after compilation failures, fixing a ↵ | Li Haoyi | 2017-11-26 | 3 | -13/+11 | |
| | | | | | | | | metadata.mill.json invalidation bug | |||||
* | | Acyclic test suite works now that we can fork and set a proper working ↵ | Li Haoyi | 2017-11-26 | 4 | -35/+88 | |
| | | | | | | | | 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 | 3 | -6/+6 | |
|\ | ||||||
| * | upgrade zinc 1.0.3 -> 1.0.5 (#26) | Nikolay Tatarinov | 2017-11-26 | 3 | -6/+6 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-26 | 3 | -30/+38 | |
|\| | ||||||
| * | 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. | |||||
| * | Bust caches when the build itself has changed. (#24) | Iulian Dragos | 2017-11-26 | 1 | -2/+10 | |
| | | | | | | | | | | Use the Ammonite classloader to check if the classpath has changed Fix #7 | |||||
| * | 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 | 2 | -13/+10 | |
| | | ||||||
* | | 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 | |||||
* | Refactor `build.sc` to pull out common `ScalaModule` code into a separate trait | Li Haoyi | 2017-11-26 | 5 | -19/+43 | |
| | | | | Also workaround a few scala-reflect bugs in `Discovered` and `Router` that were making this not-work | |||||
* | 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 | 5 | -14/+24 | |
|/ | | | | defaultCommandName member | |||||
* | improve task failure pretty-printing | Li Haoyi | 2017-11-25 | 1 | -21/+16 | |
| | ||||||
* | Remove `TaskModule`, make default-task selection to be by-name (tentatively ↵ | Li Haoyi | 2017-11-25 | 4 | -36/+25 | |
| | | | | | | | | | | 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 | 9 | -134/+170 | |
| | | | | | | | | 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` | |||||
* | add link to Deprecating the Observer Pattern | Li Haoyi | 2017-11-25 | 1 | -0/+3 | |
| | ||||||
* | Streamline cross-build Scala syntax to avoid the unnecessary `List(...)` wrapper | Li Haoyi | 2017-11-25 | 5 | -20/+48 | |
| | ||||||
* | Fix cross-build discovery | Li Haoyi | 2017-11-25 | 3 | -19/+17 | |
| | ||||||
* | Swap over to using `java.nio` APIs to make self-executable jars, instead of ↵ | Li Haoyi | 2017-11-25 | 3 | -20/+24 | |
| | | | | shelling out to `chmod` | |||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-25 | 3 | -4/+28 | |
|\ | ||||||
| * | Allow the definition of a prependShellScript in a ScalaModule (#13) | André Duarte | 2017-11-25 | 3 | -4/+28 | |
| | | ||||||
* | | Swap out all our `Either[String, Seq[String]]`s for `Mirror.Segment`s | Li Haoyi | 2017-11-25 | 4 | -32/+42 | |
| | | ||||||
* | | First pass at some cross-build resolving tests, not all passing yet | Li Haoyi | 2017-11-25 | 2 | -3/+68 | |
| | | ||||||
* | | Unit tests for `Main.resolve` | Li Haoyi | 2017-11-25 | 2 | -36/+95 | |
|/ | ||||||
* | Merge PR #15: first attempt to refactor Main.apply() | Li Haoyi | 2017-11-25 | 2 | -90/+128 | |
|\ | ||||||
| * | comments | andrea | 2017-11-25 | 2 | -55/+53 | |
| | | ||||||
| * | first attempt to refactor Main.apply() | andrea | 2017-11-24 | 2 | -77/+119 | |
| | | ||||||
* | | First pass at simplifying test suite definition & running | Li Haoyi | 2017-11-25 | 5 | -5/+24 | |
| | | | | | | | | | | | | 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 |