summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix some typos in readmerockjam2018-01-101-2/+2
|
* update readme with pretified REPL examplesrockjam2018-01-101-10/+57
|
* add command line examples to readme.mdrockjam2018-01-101-0/+65
|
* ability to run multiple tasks via bash/zsh braces expansion (#104) fixes #31Nikolay Tatarinov2018-01-105-49/+415
|
* prepare ci builds - fix tests (#107)Vadim Chelyshov2018-01-083-15/+59
|
* Tidy up `Cross` implementationLi Haoyi2018-01-081-37/+24
|
* Simplify `Evaluator.Mapping` and consolidate logic within the `Segments` ↵Li Haoyi2018-01-0819-109/+110
| | | | data-type
* Consolidate `Cross` and `CrossModule`, eliminate now-unused ↵Li Haoyi2018-01-0813-215/+44
| | | | `map`/`flatMap`/`filter` APIs
* Swap over to a new, concise `CrossModule[T](..cases)` macro syntax that ↵Li Haoyi2018-01-0710-83/+90
| | | | automatically propagates the `ctx` for you
* Generate the `Segments` list at definition time rather than discovery time, ↵Li Haoyi2018-01-0724-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 Haoyi2018-01-078-66/+70
|
* Get `--help` workingLi Haoyi2018-01-071-2/+16
|
* Remove `--repl` flag, running `mill` without a task selector now drops you ↵Li Haoyi2018-01-072-13/+5
| | | | into a REPL just like SBT
* [WIP] Basic CI infrastructure (#100)Piotr Kwiecinski2018-01-071-0/+24
| | | Basic travis configuration
* Rename `resource/` folders `resources/` to properly match SBT convention, ↵Li Haoyi2018-01-079-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 Haoyi2018-01-0722-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 testsrockjam2018-01-061-1/+1
|
* Forward bulk output to `stderr` when `--show` is called, reserving `stdout` ↵Li Haoyi2018-01-058-35/+93
| | | | for the shown JSON blob
* Fix scalatest support (#101)Vadim Chelyshov2018-01-053-1/+6
| | | * Fix #99 - it's required to provide sbt.testing.Selector for scalatest
* Update `jsbridges` to use `CrossModule`Li Haoyi2018-01-041-3/+2
|
* First pass at a ticker-based progress logger to reduce the spamminess of the ↵Li Haoyi2018-01-048-27/+110
| | | | console
* fix idea... againLi Haoyi2018-01-041-1/+1
|
* tweak cross pprinterLi Haoyi2018-01-031-1/+1
|
* First pass at providing new pretty-prints for build ↵Li Haoyi2018-01-0318-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.scLi Haoyi2018-01-021-15/+0
|
* Swap over to new `CrossModule` class to simplify the cross module syntaxLi Haoyi2018-01-028-21/+27
|
* lowercase build module names in `integration/` tests to line up with SBT ↵Li Haoyi2018-01-024-28/+28
| | | | conventions
* Make `--watch` properly handle the case where the evaluator is cached, where ↵Li Haoyi2018-01-023-44/+52
| | | | previously it would forget the `build.sc` files it was meant to watch
* fix-test-compilationLi Haoyi2018-01-011-2/+8
|
* Fix `idea` project generation, and make `Result.Exception` display the ↵Li Haoyi2018-01-016-14/+15
| | | | offending stack trace so they're easier to debug
* don't fail with match error on empty selector (#98)Nikolay Tatarinov2018-01-011-2/+4
|
* return non zero return code when task fails in batch mode (#97)Nikolay Tatarinov2018-01-021-1/+2
|
* = core use NonFatal (#95)kerr2018-01-011-2/+4
|
* Pipe in stdin and stderr. We still need to figure out a policy for how ↵Li Haoyi2018-01-016-12/+18
| | | | stderr/stdout map to the various `Logger` levels, but for now this shuts up the integration tests
* Silence IntegrationTest stdoutLi Haoyi2018-01-013-7/+21
|
* Properly handle `isModule` flag on `sbt.testing.FingerPrint`Li Haoyi2018-01-013-4/+6
|
* Make `HelloWorldTests` take an explicit output path so they are less ↵Li Haoyi2018-01-014-12/+22
| | | | | | sensitive to working directories Make `run` and `runMain` take option CLI args
* Properly set the context classloader inside `TestRunner`'s `ClassLoader`Li Haoyi2018-01-012-47/+55
|
* Make `forkArgs` work with `run` and `runMain`Li Haoyi2018-01-012-4/+15
|
* Split Acyclic/Jawn/BetterFiles tests into their own `integration/` test suite.Li Haoyi2018-01-01176-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 Nieradzik2018-01-011-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 Nieradzik2018-01-011-4/+4
|
* readme: Fix Gitter badge (#90)Tim Nieradzik2018-01-011-1/+1
|
* Update readme.mdLi Haoyi2017-12-311-1/+4
|
* Make sure we properly catch exceptions when a `Task` returning an explicit ↵Li Haoyi2017-12-311-0/+2
| | | | `Result[T]` instead throws an exception
* fix #57 implement eval function to evaluate multiple tasks via replrockjam2017-12-314-1/+36
|
* Split out generic `T.input` tasks from the `T.source` helpers, allowing ↵Li Haoyi2017-12-316-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 timeLi Haoyi2017-12-3121-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 Haoyi2017-12-302-20/+60
|
* `Core` -> `core`, for consistency with SBT naming schemesLi Haoyi2017-12-30194-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)