Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Sonatypype publishing; | rockjam | 2017-12-20 | 2 | -1/+4 |
| | | | | now you can publish your module with `mill run MyModule.publish --credentials $SONATYPE_CREDENTIALS --gpgPassphrase $GPG_PASSPHRASE` | ||||
* | publishLocal - looks like it works | dos65 | 2017-12-20 | 1 | -1/+1 |
| | |||||
* | upgrade to new version of uPickle/Ammonite | Li Haoyi | 2017-12-16 | 2 | -1/+2 |
| | |||||
* | First pass at using a compiler plugin to remove the need for the `override` ↵ | Li Haoyi | 2017-12-15 | 1 | -1/+14 |
| | | | | | | | | keyword when overriding a field within a `mill.Module` This only applies to `mill.Module`s, not overrides elsewhere which still require the keyword. `mill.Module`s tend to have lots and lots of overriding, so the keyword is basically noise. Also includes the necessary build changes to enable the locally-built Scalac plugin when compiling the test suite. Note that no changes are necessary for the executable assembly, because the `scalac-plugin.xml` will be included in the assembly and get picked up by the Ammonite scalac plugin classloader automatically | ||||
* | Move `Evaluator`s to be long lived, and make tests pass | Li Haoyi | 2017-12-14 | 2 | -17/+24 |
| | |||||
* | `Core.compile()` now works in the build REPL | Li Haoyi | 2017-12-10 | 1 | -2/+2 |
| | |||||
* | First pass at simplifying Ammonite integration and enabling the REPL. Can ↵ | Li Haoyi | 2017-12-10 | 1 | -1/+1 |
| | | | | query for terms like `Core.compile`, but still can't run `Core.compile()` | ||||
* | Add support for compiler plugins and enable acyclic plugin in build | Tin Pavlinic | 2017-12-09 | 1 | -1/+3 |
| | |||||
* | pass compile analysis of projectDeps to zinc, fixes #29 | rockjam | 2017-12-07 | 1 | -0/+3 |
| | |||||
* | Standardize on a `mill.util.Logger` class | Li Haoyi | 2017-12-04 | 4 | -11/+11 |
| | |||||
* | Make more stuff use the implicit `T.ctx()` | Li Haoyi | 2017-12-04 | 1 | -6/+7 |
| | |||||
* | - Make `T.ctx()` available implicitly | Li Haoyi | 2017-12-04 | 3 | -3/+8 |
| | | | | | - 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 | ||||
* | Fix error messages on resolving cross-built modules and re-enable relevant ↵ | Li Haoyi | 2017-11-26 | 1 | -2/+2 |
| | | | | neg tests | ||||
* | Refactor `build.sc` to pull out common `ScalaModule` code into a separate trait | Li Haoyi | 2017-11-26 | 2 | -1/+24 |
| | | | | 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 | 1 | -2/+0 |
| | | | | defaultCommandName member | ||||
* | - Make `Discovered` logic use the public getter of a `val` field, instead of ↵ | Li Haoyi | 2017-11-25 | 6 | -126/+162 |
| | | | | | | | | 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 | 2 | -13/+13 |
| | |||||
* | Fix cross-build discovery | Li Haoyi | 2017-11-25 | 1 | -3/+1 |
| | |||||
* | Swap out all our `Either[String, Seq[String]]`s for `Mirror.Segment`s | Li Haoyi | 2017-11-25 | 1 | -12/+12 |
| | |||||
* | First pass at some cross-build resolving tests, not all passing yet | Li Haoyi | 2017-11-25 | 1 | -2/+65 |
| | |||||
* | Unit tests for `Main.resolve` | Li Haoyi | 2017-11-25 | 1 | -0/+49 |
| | |||||
* | Targets living in cross modules can now be properly discovered, run and cached. | Li Haoyi | 2017-11-22 | 4 | -16/+62 |
| | | | | | | | | 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 | 2 | -2/+84 |
| | | | | | | 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 | 2 | -36/+37 |
| | | | | `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 | 2 | -2/+30 |
| | | | | 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 | 4 | -82/+4 |
| | | | | unit tests | ||||
* | Organize `core/test`s into subfolders | Li Haoyi | 2017-11-18 | 12 | -113/+108 |
| | |||||
* | Tweak `OSet` to avoid re-creating the `.items` Vector for every operation, ↵ | Li Haoyi | 2017-11-18 | 3 | -3/+3 |
| | | | | 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 | 3 | -22/+27 |
| | | | | 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 | 3 | -14/+22 |
| | |||||
* | Implement `T.persistent{}` targets, which have their dest directory persist ↵ | Li Haoyi | 2017-11-18 | 1 | -5/+1 |
| | | | | between runs so the task implementation can use it as a cache | ||||
* | Cleanup | Li Haoyi | 2017-11-18 | 5 | -9/+3 |
| | |||||
* | Extract out shared `Hierarchy.traverse` function for walking `Hierarchy` tree | Li Haoyi | 2017-11-18 | 2 | -4/+4 |
| | |||||
* | Tests appear to pass using the new `Hierarchy`-first `Discovered` data format | Li Haoyi | 2017-11-17 | 2 | -39/+55 |
| | |||||
* | Flesh out a principled implementation of the cross-build monad | Li Haoyi | 2017-11-16 | 1 | -37/+128 |
| | |||||
* | interpreter-based `Cross` seems to work | Li Haoyi | 2017-11-16 | 1 | -34/+37 |
| | |||||
* | Vendor `com.lihaoyi:acyclic` codebase as a cross-building example, first ↵ | Li Haoyi | 2017-11-16 | 6 | -14/+61 |
| | | | | non-working experiments in cross building working... | ||||
* | Add namespace hierarchy discovery to the `Discovered` macro, in preparation ↵ | Li Haoyi | 2017-11-12 | 3 | -4/+18 |
| | | | | for IntelliJ support | ||||
* | Tests are passing under the new group evaluation model | Li Haoyi | 2017-11-12 | 3 | -48/+86 |
| | |||||
* | Clean up `mill.Main` | Li Haoyi | 2017-11-12 | 2 | -5/+0 |
| | |||||
* | Rename out `Task.path` to `Task.source`, use it more aggressively to get ↵ | Li Haoyi | 2017-11-12 | 3 | -20/+24 |
| | | | | `amm -w` watch-n-rebuild functionality working on `build.sc` | ||||
* | Ensure `Evaluator` can handle the case where you have more than one terminal ↵ | Li Haoyi | 2017-11-12 | 1 | -18/+52 |
| | | | | nodes on the boundary between two groups, *and* one of the terminal nodes depends on another | ||||
* | . | Li Haoyi | 2017-11-11 | 1 | -3/+1 |
| | |||||
* | Properly merge groups in `groupAroundNamedTargets` to handle cases where a ↵ | Li Haoyi | 2017-11-11 | 1 | -0/+20 |
| | | | | group has multiple terminals |