Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Tests appear to pass using the new `Hierarchy`-first `Discovered` data format | Li Haoyi | 2017-11-17 | 5 | -150/+155 | |
| | ||||||
* | Flesh out a principled implementation of the cross-build monad | Li Haoyi | 2017-11-16 | 2 | -98/+137 | |
| | ||||||
* | interpreter-based `Cross` seems to work | Li Haoyi | 2017-11-16 | 2 | -47/+99 | |
| | ||||||
* | Vendor `com.lihaoyi:acyclic` codebase as a cross-building example, first ↵ | Li Haoyi | 2017-11-16 | 8 | -15/+80 | |
| | | | | non-working experiments in cross building working... | |||||
* | remove hashing println | Li Haoyi | 2017-11-15 | 1 | -1/+0 | |
| | ||||||
* | Allow opting in to faster/sloppier `PathRef` signatures using mtime + ↵ | Li Haoyi | 2017-11-15 | 1 | -10/+20 | |
| | | | | | | filesize instead of md5ing the file body. Used for third-party dependencies (which are large jars but shouldn't change often) this speeds up the no-op `mill run ScalaPlugin.compile` by about a quarter | |||||
* | Strip out `play-json` dependency in favor of `upickle`, which we are forced ↵ | Li Haoyi | 2017-11-15 | 7 | -66/+40 | |
| | | | | to use anyway due to Ammonite. Saves us from classloading play-json and Jackson, shaving off a few hundred ms from the cold no-op runtime | |||||
* | Properly time entire main method | Li Haoyi | 2017-11-15 | 1 | -4/+10 | |
| | ||||||
* | First pass at cleaning up `build.sc` file syntax | Li Haoyi | 2017-11-15 | 1 | -12/+91 | |
| | ||||||
* | Avoid compiling code just to get access to compiled code output paths | Li Haoyi | 2017-11-15 | 1 | -7/+12 | |
| | ||||||
* | First pass at an `assembly` task now works, rudimentary but enough to be ↵ | Li Haoyi | 2017-11-14 | 2 | -4/+57 | |
| | | | | used metacircularly | |||||
* | Add namespace hierarchy discovery to the `Discovered` macro, in preparation ↵ | Li Haoyi | 2017-11-12 | 4 | -13/+44 | |
| | | | | for IntelliJ support | |||||
* | Tests are passing under the new group evaluation model | Li Haoyi | 2017-11-12 | 5 | -131/+132 | |
| | ||||||
* | Clean up `mill.Main` | Li Haoyi | 2017-11-12 | 4 | -31/+33 | |
| | ||||||
* | Rename out `Task.path` to `Task.source`, use it more aggressively to get ↵ | Li Haoyi | 2017-11-12 | 7 | -56/+67 | |
| | | | | `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 | 2 | -19/+53 | |
| | | | | nodes on the boundary between two groups, *and* one of the terminal nodes depends on another | |||||
* | cleanup `build.sc` imports | Li Haoyi | 2017-11-11 | 1 | -0/+2 | |
| | ||||||
* | `T{}` blocks can now be implicit | Li Haoyi | 2017-11-11 | 3 | -3/+14 | |
| | ||||||
* | - Smoothed out syntax for defining ivy dependencies | Li Haoyi | 2017-11-11 | 2 | -49/+57 | |
| | | | | - Made `build.sc` file directly runnable using Ammonite, without any wrapper | |||||
* | . | Li Haoyi | 2017-11-11 | 1 | -3/+1 | |
| | ||||||
* | Properly merge groups in `groupAroundNamedTargets` to handle cases where a ↵ | Li Haoyi | 2017-11-11 | 4 | -5/+28 | |
| | | | | group has multiple terminals | |||||
* | - Give `Target`s nicer `toString`s using `sourcecode.Enclosing`. Still not ↵ | Li Haoyi | 2017-11-11 | 8 | -18/+57 | |
| | | | | | | | | | | as good as the `Labeling` they get during evaluation, but better than nothing - Split out `TargetImpl` from `Target`, so we can make our dummy `TestUtils.Test` class implement `Target`s for discoverability etc. - Make `Discovered` only discover `Target`s, not `Task`s - Make `groupAroundNamedTargets` properly sort the groups topologically, and by flexible enough to combine groups which have cycles between them. | |||||
* | Swap over to new `projectDeps` mechanism for defining dependencies between ↵ | Li Haoyi | 2017-11-11 | 5 | -4/+5 | |
| | | | | various `scalaplugin.Subproject`s | |||||
* | First sketch at SBT test integration works | Li Haoyi | 2017-11-11 | 1 | -83/+69 | |
| | ||||||
* | rename forge -> mill | Li Haoyi | 2017-11-10 | 28 | -106/+106 | |
| | ||||||
* | Add basic tests for un-cached evaluation of `Task`s | Li Haoyi | 2017-11-10 | 4 | -42/+114 | |
| | ||||||
* | Kill `Router.main` annotation and make routing dependent on the `Command` ↵ | Li Haoyi | 2017-11-10 | 1 | -2/+1 | |
| | | | | return type | |||||
* | Migrate over to the new `Task`/`Target`/`Command` split | Li Haoyi | 2017-11-09 | 17 | -245/+265 | |
| | ||||||
* | Move `JavaCompilerJarTests` over to new `Target.ctx()` syntax | Li Haoyi | 2017-11-09 | 2 | -31/+10 | |
| | ||||||
* | Make `Applicative` macros able to inject a configurable `Ctx` object, used ↵ | Li Haoyi | 2017-11-09 | 3 | -25/+60 | |
| | | | | in `Target` to inject the `dest` folder for the `T{...}` block to use | |||||
* | make scalaplugin.Subproject use the builtin destination folder | Li Haoyi | 2017-11-09 | 2 | -3/+4 | |
| | ||||||
* | Swap `compileScala` over to `T{...}` macro | Li Haoyi | 2017-11-08 | 1 | -2/+0 | |
| | ||||||
* | Include consistency check in main workflow | Li Haoyi | 2017-11-07 | 1 | -28/+34 | |
| |