summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * - Make `T.ctx()` available implicitlyLi Haoyi2017-12-0410-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 caseLi Haoyi2017-12-041-1/+1
| |
| * Flesh out `bridges` pre-compilation in Mill build, getting the ↵Li Haoyi2017-12-046-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 Haoyi2017-12-044-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/mainClassNikolay Tatarinov2017-11-302-7/+56
|\ \ | |/ |/| Main class
| * swap run and runMain commandsrockjam2017-11-302-9/+9
| |
| * implment runMain commandrockjam2017-11-302-1/+29
| |
| * mainClass supportrockjam2017-11-302-2/+23
|/
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-291-1/+1
|\
| * Pass `$JAVA_OPTS` to the JVM (#34)Iulian Dragos2017-11-291-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 MillLi Haoyi2017-11-2941-0/+6014
|/
* - Re-enable zinc compiler cache, since the OOMing it used to cause seems to ↵Li Haoyi2017-11-281-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/millLi Haoyi2017-11-275-20/+279
|\
| * fix #8 simple 'hello world' scala module with tests on it; extract test ↵Nikolay Tatarinov2017-11-275-20/+279
| | | | | | | | evaluator (#30)
* | Acyclic cross-version tests are runningLi Haoyi2017-11-272-9/+38
|/
* Tweak readme, fix SBT executable assembly prefixLi Haoyi2017-11-274-10/+165
|
* Fix error messages on resolving cross-built modules and re-enable relevant ↵Li Haoyi2017-11-262-3/+11
| | | | neg tests
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-261-1/+3
|\
| * Check owner of method instead of linear search (#28)Iulian Dragos2017-11-261-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 Haoyi2017-11-263-13/+11
| | | | | | | | metadata.mill.json invalidation bug
* | Acyclic test suite works now that we can fork and set a proper working ↵Li Haoyi2017-11-264-35/+88
| | | | | | | | directory, but only when run alone (???)
* | Isolate TestRunner classloader to try and get AcyclicTests working...Li Haoyi2017-11-262-3/+5
|/
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-263-6/+6
|\
| * upgrade zinc 1.0.3 -> 1.0.5 (#26)Nikolay Tatarinov2017-11-263-6/+6
| |
* | Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-263-30/+38
|\|
| * Cleaner logging of Zinc activities. (#25)Iulian Dragos2017-11-261-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 Dragos2017-11-261-2/+10
| | | | | | | | | | Use the Ammonite classloader to check if the classpath has changed Fix #7
| * pass scalacOptions and javacOptions to compile (#23)Nikolay Tatarinov2017-11-261-3/+14
| |
| * fix console command in scala plugin; use subprocess for run (#21)Nikolay Tatarinov2017-11-262-13/+10
| |
* | WIP getting Acyclic build working in Mill. Test suite doesn't work, neither ↵Li Haoyi2017-11-262-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 traitLi Haoyi2017-11-265-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/millLi Haoyi2017-11-261-5/+8
|\
| * fix #6 include project classes to incremental compilation classpath (#20)Nikolay Tatarinov2017-11-261-5/+8
| |
* | bring back ScalaModule#run, bring back TaskModule now with a new ↵Li Haoyi2017-11-265-14/+24
|/ | | | defaultCommandName member
* improve task failure pretty-printingLi Haoyi2017-11-251-21/+16
|
* Remove `TaskModule`, make default-task selection to be by-name (tentatively ↵Li Haoyi2017-11-254-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 Haoyi2017-11-259-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 PatternLi Haoyi2017-11-251-0/+3
|
* Streamline cross-build Scala syntax to avoid the unnecessary `List(...)` wrapperLi Haoyi2017-11-255-20/+48
|
* Fix cross-build discoveryLi Haoyi2017-11-253-19/+17
|
* Swap over to using `java.nio` APIs to make self-executable jars, instead of ↵Li Haoyi2017-11-253-20/+24
| | | | shelling out to `chmod`
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-253-4/+28
|\
| * Allow the definition of a prependShellScript in a ScalaModule (#13)André Duarte2017-11-253-4/+28
| |
* | Swap out all our `Either[String, Seq[String]]`s for `Mirror.Segment`sLi Haoyi2017-11-254-32/+42
| |
* | First pass at some cross-build resolving tests, not all passing yetLi Haoyi2017-11-252-3/+68
| |
* | Unit tests for `Main.resolve`Li Haoyi2017-11-252-36/+95
|/
* Merge PR #15: first attempt to refactor Main.apply()Li Haoyi2017-11-252-90/+128
|\
| * commentsandrea2017-11-252-55/+53
| |
| * first attempt to refactor Main.apply()andrea2017-11-242-77/+119
| |
* | First pass at simplifying test suite definition & runningLi Haoyi2017-11-255-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