Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Make `T.ctx()` available implicitly | Li Haoyi | 2017-12-04 | 9 | -53/+87 |
| | | | | | - 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 | ||||
* | Flesh out `bridges` pre-compilation in Mill build, getting the ↵ | Li Haoyi | 2017-12-04 | 3 | -14/+17 |
| | | | | | | | | | | 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 | ||||
* | 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 | 1 | -0/+5 |
| | | | | | | | | metadata.mill.json invalidation bug | ||||
* | | Acyclic test suite works now that we can fork and set a proper working ↵ | Li Haoyi | 2017-11-26 | 1 | -3/+3 |
|/ | | | | directory, but only when run alone (???) | ||||
* | 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 | ||||
* | fix console command in scala plugin; use subprocess for run (#21) | Nikolay Tatarinov | 2017-11-26 | 1 | -2/+3 |
| | |||||
* | Refactor `build.sc` to pull out common `ScalaModule` code into a separate trait | Li Haoyi | 2017-11-26 | 4 | -5/+31 |
| | | | | Also workaround a few scala-reflect bugs in `Discovered` and `Router` that were making this not-work | ||||
* | bring back ScalaModule#run, bring back TaskModule now with a new ↵ | Li Haoyi | 2017-11-26 | 4 | -10/+13 |
| | | | | 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 | 2 | -22/+17 |
| | | | | | | | | | | 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 | 8 | -133/+169 |
| | | | | | | | | 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` | ||||
* | Streamline cross-build Scala syntax to avoid the unnecessary `List(...)` wrapper | Li Haoyi | 2017-11-25 | 4 | -18/+26 |
| | |||||
* | Fix cross-build discovery | Li Haoyi | 2017-11-25 | 2 | -5/+3 |
| | |||||
* | Swap over to using `java.nio` APIs to make self-executable jars, instead of ↵ | Li Haoyi | 2017-11-25 | 1 | -5/+9 |
| | | | | shelling out to `chmod` | ||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-25 | 1 | -3/+15 |
|\ | |||||
| * | Allow the definition of a prependShellScript in a ScalaModule (#13) | André Duarte | 2017-11-25 | 1 | -3/+15 |
| | | |||||
* | | 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 | 2 | -1/+16 |
| | | | | | | | | | | | | 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 | 1 | -1/+4 |
|/ | | | | Fixed `GenIdea` to fix reversing of module path in generating module name | ||||
* | Fixes #1. Don't log "Running" of skipped target (#11) | Nikolay Tatarinov | 2017-11-23 | 1 | -7/+26 |
| | | | | | | * fixes #1: don't log failed targets as running * remove pprint logging | ||||
* | Targets living in cross modules can now be properly discovered, run and cached. | Li Haoyi | 2017-11-22 | 7 | -38/+109 |
| | | | | | | | | 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 | 6 | -83/+202 |
| | | | | | | Can be tested out on our `build.sc` via `scalaplugin/target/mill run Core.cross[a].printIt` Needs tons of cleanup... | ||||
* | dry-up-workspace | Li Haoyi | 2017-11-18 | 1 | -3/+3 |
| | |||||
* | Refactor `eval/FailureTests` to DRY it up | Li Haoyi | 2017-11-18 | 1 | -36/+48 |
| | |||||
* | Shift mixed task/target group-count tests into `GraphTests` with the other ↵ | Li Haoyi | 2017-11-18 | 3 | -76/+104 |
| | | | | `groupAroundNamedArgs` tests, and move the graph definitions themselves into `TestGraphs` so they can be shared | ||||
* | Add some basic tests for failure/exception handling during evaluation... | Li Haoyi | 2017-11-18 | 2 | -2/+94 |
| | |||||
* | Move graph algorithms on tasks into `define/Graph.scala`, and move ↵ | Li Haoyi | 2017-11-18 | 4 | -94/+103 |
| | | | | `GraphTests.scala` into `define/` as well | ||||
* | Move some test cases that are testing `mill/discover/` code, into that package | Li Haoyi | 2017-11-18 | 3 | -79/+107 |
| | |||||
* | Add basic unit tests for `T.command` discovery | Li Haoyi | 2017-11-18 | 1 | -1/+43 |
| | |||||
* | Force compile errors for missing implicits in `Discovered` materialization ↵ | Li Haoyi | 2017-11-18 | 4 | -9/+53 |
| | | | | to point at their source methods, for easier fixing | ||||
* | Inject logging callback into Evaluator, so we can silence the logging in our ↵ | Li Haoyi | 2017-11-18 | 6 | -100/+36 |
| | | | | unit tests | ||||
* | Organize `core/test`s into subfolders | Li Haoyi | 2017-11-18 | 12 | -113/+108 |
| | |||||
* | Tweak implicits to make `build.sc` pass again | Li Haoyi | 2017-11-18 | 4 | -16/+47 |
| | |||||
* | Tweak `OSet` to avoid re-creating the `.items` Vector for every operation, ↵ | Li Haoyi | 2017-11-18 | 6 | -14/+17 |
| | | | | making `.items` a lightweight Iterator and forcing users to use `.indexed` if they explicitly need an indexed sequence | ||||
* | First pass at managing failures in the evaluation graph now works. Tweaked ↵ | Li Haoyi | 2017-11-18 | 8 | -61/+101 |
| | | | | the `JavaCompileJarTests` to make use of it, but still need to write a proper unit test suite | ||||
* | Tighten up `LabelledTarget` to contain a `Target[T]` instead of a `Task[T]` | Li Haoyi | 2017-11-18 | 7 | -33/+46 |
| | |||||
* | Refactor `Evaluator` implementation to reduce the number of "unsafe" map lookups | Li Haoyi | 2017-11-18 | 1 | -50/+44 |
| | |||||
* | Implement `T.persistent{}` targets, which have their dest directory persist ↵ | Li Haoyi | 2017-11-18 | 5 | -15/+41 |
| | | | | between runs so the task implementation can use it as a cache | ||||
* | Silence warnings | Li Haoyi | 2017-11-18 | 1 | -68/+85 |
| | |||||
* | Cleanup | Li Haoyi | 2017-11-18 | 8 | -101/+116 |
| | |||||
* | Add comments | Li Haoyi | 2017-11-18 | 2 | -8/+23 |
| | |||||
* | Extract out shared `Hierarchy.traverse` function for walking `Hierarchy` tree | Li Haoyi | 2017-11-18 | 6 | -46/+65 |
| |