Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix some typos in readme | rockjam | 2018-01-10 | 1 | -2/+2 |
| | |||||
* | update readme with pretified REPL examples | rockjam | 2018-01-10 | 1 | -10/+57 |
| | |||||
* | add command line examples to readme.md | rockjam | 2018-01-10 | 1 | -0/+65 |
| | |||||
* | ability to run multiple tasks via bash/zsh braces expansion (#104) fixes #31 | Nikolay Tatarinov | 2018-01-10 | 5 | -49/+415 |
| | |||||
* | prepare ci builds - fix tests (#107) | Vadim Chelyshov | 2018-01-08 | 3 | -15/+59 |
| | |||||
* | Tidy up `Cross` implementation | Li Haoyi | 2018-01-08 | 1 | -37/+24 |
| | |||||
* | Simplify `Evaluator.Mapping` and consolidate logic within the `Segments` ↵ | Li Haoyi | 2018-01-08 | 19 | -109/+110 |
| | | | | data-type | ||||
* | Consolidate `Cross` and `CrossModule`, eliminate now-unused ↵ | Li Haoyi | 2018-01-08 | 13 | -215/+44 |
| | | | | `map`/`flatMap`/`filter` APIs | ||||
* | Swap over to a new, concise `CrossModule[T](..cases)` macro syntax that ↵ | Li Haoyi | 2018-01-07 | 10 | -83/+90 |
| | | | | automatically propagates the `ctx` for you | ||||
* | Generate the `Segments` list at definition time rather than discovery time, ↵ | Li Haoyi | 2018-01-07 | 24 | -292/+244 |
| | | | | | | | | by propagating implicits throughout the tree of nested `mill.Module`s This currently adds some annoying boilerplate to the definition of cross/abstract modules, which can probably be removed using Macros. The `Segments` mapping generated by discovery is still present and used in a few places, though it will be removed | ||||
* | Break out `Module.scala` from `Task.scala` | Li Haoyi | 2018-01-07 | 8 | -66/+70 |
| | |||||
* | Get `--help` working | Li Haoyi | 2018-01-07 | 1 | -2/+16 |
| | |||||
* | Remove `--repl` flag, running `mill` without a task selector now drops you ↵ | Li Haoyi | 2018-01-07 | 2 | -13/+5 |
| | | | | into a REPL just like SBT | ||||
* | [WIP] Basic CI infrastructure (#100) | Piotr Kwiecinski | 2018-01-07 | 1 | -0/+24 |
| | | | Basic travis configuration | ||||
* | Rename `resource/` folders `resources/` to properly match SBT convention, ↵ | Li Haoyi | 2018-01-07 | 9 | -3/+3 |
| | | | | making changes within them get picked up by the file-watching `~compile`/`~test` commands | ||||
* | First pass at implicitly propagating a `def basePath: Path` up the `Module` ↵ | Li Haoyi | 2018-01-07 | 22 | -154/+228 |
| | | | | | | | | hierarchy, which each module receives and extends. One constraint is that now must define your abstract modules as `trait`s rather than `class`es, or otherwise add an implicit `ctx: ModuleCtx` parameter to your class definition. So far this lets us remove some explicit `basePath` definitions in `build.sc`. Proper handling of `basePath` in `CrossModule`s is future work | ||||
* | fix compilation error in integration tests | rockjam | 2018-01-06 | 1 | -1/+1 |
| | |||||
* | Forward bulk output to `stderr` when `--show` is called, reserving `stdout` ↵ | Li Haoyi | 2018-01-05 | 8 | -35/+93 |
| | | | | for the shown JSON blob | ||||
* | Fix scalatest support (#101) | Vadim Chelyshov | 2018-01-05 | 3 | -1/+6 |
| | | | * Fix #99 - it's required to provide sbt.testing.Selector for scalatest | ||||
* | Update `jsbridges` to use `CrossModule` | Li Haoyi | 2018-01-04 | 1 | -3/+2 |
| | |||||
* | First pass at a ticker-based progress logger to reduce the spamminess of the ↵ | Li Haoyi | 2018-01-04 | 8 | -27/+110 |
| | | | | console | ||||
* | fix idea... again | Li Haoyi | 2018-01-04 | 1 | -1/+1 |
| | |||||
* | tweak cross pprinter | Li Haoyi | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | First pass at providing new pretty-prints for build ↵ | Li Haoyi | 2018-01-03 | 18 | -41/+146 |
| | | | | `Module`s/`Target`s/`Cross`s in the Mill REPL, making use of `sourcecode.*` values captured and definition-site and contextual information made available in the build `Mirror` | ||||
* | remove unused cross-build demo code from build.sc | Li Haoyi | 2018-01-02 | 1 | -15/+0 |
| | |||||
* | Swap over to new `CrossModule` class to simplify the cross module syntax | Li Haoyi | 2018-01-02 | 8 | -21/+27 |
| | |||||
* | lowercase build module names in `integration/` tests to line up with SBT ↵ | Li Haoyi | 2018-01-02 | 4 | -28/+28 |
| | | | | conventions | ||||
* | Make `--watch` properly handle the case where the evaluator is cached, where ↵ | Li Haoyi | 2018-01-02 | 3 | -44/+52 |
| | | | | previously it would forget the `build.sc` files it was meant to watch | ||||
* | fix-test-compilation | Li Haoyi | 2018-01-01 | 1 | -2/+8 |
| | |||||
* | Fix `idea` project generation, and make `Result.Exception` display the ↵ | Li Haoyi | 2018-01-01 | 6 | -14/+15 |
| | | | | offending stack trace so they're easier to debug | ||||
* | don't fail with match error on empty selector (#98) | Nikolay Tatarinov | 2018-01-01 | 1 | -2/+4 |
| | |||||
* | return non zero return code when task fails in batch mode (#97) | Nikolay Tatarinov | 2018-01-02 | 1 | -1/+2 |
| | |||||
* | = core use NonFatal (#95) | kerr | 2018-01-01 | 1 | -2/+4 |
| | |||||
* | Pipe in stdin and stderr. We still need to figure out a policy for how ↵ | Li Haoyi | 2018-01-01 | 6 | -12/+18 |
| | | | | stderr/stdout map to the various `Logger` levels, but for now this shuts up the integration tests | ||||
* | Silence IntegrationTest stdout | Li Haoyi | 2018-01-01 | 3 | -7/+21 |
| | |||||
* | Properly handle `isModule` flag on `sbt.testing.FingerPrint` | Li Haoyi | 2018-01-01 | 3 | -4/+6 |
| | |||||
* | Make `HelloWorldTests` take an explicit output path so they are less ↵ | Li Haoyi | 2018-01-01 | 4 | -12/+22 |
| | | | | | | sensitive to working directories Make `run` and `runMain` take option CLI args | ||||
* | Properly set the context classloader inside `TestRunner`'s `ClassLoader` | Li Haoyi | 2018-01-01 | 2 | -47/+55 |
| | |||||
* | Make `forkArgs` work with `run` and `runMain` | Li Haoyi | 2018-01-01 | 2 | -4/+15 |
| | |||||
* | Split Acyclic/Jawn/BetterFiles tests into their own `integration/` test suite. | Li Haoyi | 2018-01-01 | 176 | -11548/+383 |
| | | | | | | Those tests now download a snapshot of the relevant git repo rather than vendoring the files, and use a bare `build.sc` instead of having the build object be included in the test classpath. Tests pass using `sbt integration/test`, but `mill integration.test` still doesn't work | ||||
* | Build: Bump sbt version (#91) | Tim Nieradzik | 2018-01-01 | 1 | -1/+1 |
| | | | | | | The compilation fails with sbt v0.13.15 on some terminals: [ERROR] Failed to construct terminal; falling back to unsupported java.lang.NumberFormatException: For input string: "0x100" | ||||
* | readme: Fix typos (#92) | Tim Nieradzik | 2018-01-01 | 1 | -4/+4 |
| | |||||
* | readme: Fix Gitter badge (#90) | Tim Nieradzik | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | Update readme.md | Li Haoyi | 2017-12-31 | 1 | -1/+4 |
| | |||||
* | Make sure we properly catch exceptions when a `Task` returning an explicit ↵ | Li Haoyi | 2017-12-31 | 1 | -0/+2 |
| | | | | `Result[T]` instead throws an exception | ||||
* | fix #57 implement eval function to evaluate multiple tasks via repl | rockjam | 2017-12-31 | 4 | -1/+36 |
| | |||||
* | Split out generic `T.input` tasks from the `T.source` helpers, allowing ↵ | Li Haoyi | 2017-12-31 | 6 | -27/+62 |
| | | | | `T.source` to behave as before but `T.input` can be used for other things. Fixes https://github.com/lihaoyi/mill/issues/77 | ||||
* | - Convert `T.source` into a generic `Target` that flushes the cache every time | Li Haoyi | 2017-12-31 | 21 | -124/+193 |
| | | | | | | - Prepare `T.ctx().base: Path` that `Task`s (including `T.source`) can use to find a "default" path for source files. - Simplify `Cacher` | ||||
* | Swap out awkward quasiquotes in `Task` macros in exchange for `reify`/`splice` | Li Haoyi | 2017-12-30 | 2 | -20/+60 |
| | |||||
* | `Core` -> `core`, for consistency with SBT naming schemes | Li Haoyi | 2017-12-30 | 194 | -170/+171 |
| | | | | | | | | `ScalaPlugin` -> `scalalib`, to avoid confusion with Scala compiler plugins `ScalaModule` -> `module`, to be used via `scalalib.Module`, avoid unnecessary duplication in th name prefix `plugin` -> `moduledefs`, to more accurately describe what it does (since it includes `Cacher` as well) |