summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Migrate most classpath-related code onto `Loose.OSet` abstraction, to ↵Li Haoyi2018-01-1334-215/+250
| | | | enforce deduplication
* Break up scalalib/Module.scalaLi Haoyi2018-01-123-155/+174
|
* Allow `Cross`-builds to themselves be `Module`s so you can nest stuff insideLi Haoyi2018-01-122-2/+9
| | | | Also properly propagate `mainClass` into `assembly`
* split up travis build into 3 workers, one testing each stage of the ↵Li Haoyi2018-01-124-4/+34
| | | | bootstrapping
* fix testsLi Haoyi2018-01-122-3/+3
|
* Add some doccommentsLi Haoyi2018-01-123-0/+26
|
* Allow implicit `crossModule()` syntax to automatically find a set of ↵Li Haoyi2018-01-123-5/+47
| | | | cross-coordinates which are compatible with a given implicit resolver
* - Make `sources` and `resources` able to take multiple roots, so we can ↵Li Haoyi2018-01-123-22/+52
| | | | implement `CrossSbtModule` that works with `scala-2.10/` `scala-2.11/` etc. folders
* - Better error reporting in `ReplApplyHandler`Li Haoyi2018-01-123-6/+32
| | | | | - Logger now prints a newline when transitioning to ticker-mode, to avoid over-writing anything on the current line - Consolidate `scalalib.Module` logic around `assemblyClasspath`
* Clean up `Logger.scala` a bitLi Haoyi2018-01-121-32/+16
|
* Properly close file inputstreams after hashing files, and eagerly close ↵Li Haoyi2018-01-112-0/+3
| | | | classloaders used for running tests
* collapse unnecessary generateXSources helper methodsLi Haoyi2018-01-111-7/+4
|
* Add generated sources target (#109)Minghao Liu2018-01-115-21/+40
| | | | | | | | | | | | * add generated source * naming * multiple content root * no message * fix output classes path
* 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