Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DRY up test suite by making `Discover` generation implicit | Li Haoyi | 2018-01-28 | 3 | -10/+3 |
| | | | | Also avoid passing around `Discover` and `Evaluator` together, since the latter already contains the former | ||||
* | Fix gen idea tests | Li Haoyi | 2018-01-28 | 2 | -17/+21 |
| | |||||
* | Make `idea` task work with releaseAssembly and publishLocal | Li Haoyi | 2018-01-27 | 4 | -6/+21 |
| | |||||
* | Fix publishLocal of Mill's own build | Li Haoyi | 2018-01-27 | 1 | -1/+1 |
| | |||||
* | Make `idea` task configure the root module to have IntelliJ properly handle ↵ | Li Haoyi | 2018-01-27 | 1 | -15/+46 |
| | | | | the `build.sc` file | ||||
* | First incomplete pass at writing docs | Li Haoyi | 2018-01-27 | 1 | -28/+51 |
| | |||||
* | Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵ | Li Haoyi | 2018-01-26 | 3 | -5/+14 |
| | | | | to validate the `dest` paths of overriden commands and overriden targets | ||||
* | Remove obsolete `Loader` context API | Li Haoyi | 2018-01-24 | 1 | -2/+2 |
| | |||||
* | update mill build to work with new isolated scalaworker | Li Haoyi | 2018-01-23 | 2 | -31/+23 |
| | |||||
* | WIP splitting `mill.scalaworker` out of `mill.scalalib` and into it's own ↵ | Li Haoyi | 2018-01-23 | 6 | -319/+82 |
| | | | | isolated module/classloader. Most scalalib test pass, tho GenIdea is still broken | ||||
* | - Make `forkTest` and `forkRun` the default, renaming `test` and `run` to ↵ | Li Haoyi | 2018-01-21 | 2 | -23/+50 |
| | | | | | | | | | | | | `testLocal` and `runLocal` - Support passing `forkEnv` parameters to `test` and `run`, necessary to get Ammonite working - Standardize signatures of `Jvm.interactiveSubprocess`/`Jvm.subprocess` - `Jvm.inprocess` is now `Jvm.runLocal` - Swap `TestModule.testLocal` over to using `Jvm.runLocal`, for consistency with everything else | ||||
* | Implement basic wildcard task running via e.g. `mill _.compile` | Li Haoyi | 2018-01-21 | 1 | -1/+0 |
| | |||||
* | - Make `docsJar` and `sourcesJar` more robust against empty inputs | Li Haoyi | 2018-01-21 | 1 | -12/+12 |
| | | | | | - `sourcesJar` now de-dupes items by default, rather than crashing - Resolving commands now works properly within cross-builds | ||||
* | Swap over to simplified Mill module/source layout from SBT's | Li Haoyi | 2018-01-20 | 34 | -2/+2 |
| | | | | Removes a lot of useless folders and gives us a chance to exercise this simplified layout. Support for the SBT layout is still verified by our integration tests | ||||
* | add a basic test for gen-idea (#114) | Stephen Nancekivell | 2018-01-19 | 14 | -5/+183 |
| | | | | | | | | | | * add a basic test for gen-idea * update GenIdeaTest with resources as source. * change .gitignore to allow .iml under src/test/resources. Ignore .idea_modules. * normalise library paths in GenIdeaTests | ||||
* | Get Travis CI green again after adding Ammonite integration test | Li Haoyi | 2018-01-19 | 1 | -17/+21 |
| | |||||
* | Run Main.main in current process (#115) | Minghao Liu | 2018-01-19 | 3 | -25/+37 |
| | | | | | | | | | | | | | | | | * no message * fix compile * fix compile again * finishing in process running * remove comment * fix bug * fix bug | ||||
* | add resource folders, only one output folder is supported (#113) | Minghao Liu | 2018-01-19 | 1 | -9/+15 |
| | |||||
* | Implement downloading/caching of binaries and java-source-folder support to ↵ | Li Haoyi | 2018-01-17 | 2 | -3/+18 |
| | | | | make better-files benchmarks compile; fixes https://github.com/lihaoyi/mill/issues/37 | ||||
* | - Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependencies | Li Haoyi | 2018-01-15 | 8 | -19/+35 |
| | | | | | | - `projectDeps` is now `moduleDeps` for compatibility with our `Module` terminology - `scalalib.Module` is now `ScalaModule` for compatibility with `import scalalib._` | ||||
* | Extract out miscellanous mill.define.Module helpers into the millInternal ↵ | Li Haoyi | 2018-01-14 | 1 | -1/+1 |
| | | | | namespace | ||||
* | More fixes for `GenIdea` dealing with nested modules | Li Haoyi | 2018-01-14 | 1 | -1/+1 |
| | |||||
* | Fix GenIdea logic again... | Li Haoyi | 2018-01-14 | 1 | -23/+23 |
| | |||||
* | Some tweaks to get tests passing... | Li Haoyi | 2018-01-14 | 1 | -52/+51 |
| | |||||
* | Everything seems to compile with new, minimal `Discover` implementation... | Li Haoyi | 2018-01-14 | 3 | -23/+18 |
| | |||||
* | rename OSet -> Agg | Li Haoyi | 2018-01-13 | 9 | -59/+59 |
| | |||||
* | Migrate most classpath-related code onto `Loose.OSet` abstraction, to ↵ | Li Haoyi | 2018-01-13 | 9 | -59/+71 |
| | | | | enforce deduplication | ||||
* | Break up scalalib/Module.scala | Li Haoyi | 2018-01-12 | 3 | -155/+174 |
| | |||||
* | Allow `Cross`-builds to themselves be `Module`s so you can nest stuff inside | Li Haoyi | 2018-01-12 | 1 | -0/+2 |
| | | | | Also properly propagate `mainClass` into `assembly` | ||||
* | Allow implicit `crossModule()` syntax to automatically find a set of ↵ | Li Haoyi | 2018-01-12 | 1 | -1/+20 |
| | | | | cross-coordinates which are compatible with a given implicit resolver | ||||
* | - Make `sources` and `resources` able to take multiple roots, so we can ↵ | Li Haoyi | 2018-01-12 | 2 | -21/+51 |
| | | | | implement `CrossSbtModule` that works with `scala-2.10/` `scala-2.11/` etc. folders | ||||
* | - Better error reporting in `ReplApplyHandler` | Li Haoyi | 2018-01-12 | 1 | -4/+4 |
| | | | | | - 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` | ||||
* | Properly close file inputstreams after hashing files, and eagerly close ↵ | Li Haoyi | 2018-01-11 | 1 | -0/+1 |
| | | | | classloaders used for running tests | ||||
* | Add generated sources target (#109) | Minghao Liu | 2018-01-11 | 2 | -10/+29 |
| | | | | | | | | | | | | * add generated source * naming * multiple content root * no message * fix output classes path | ||||
* | prepare ci builds - fix tests (#107) | Vadim Chelyshov | 2018-01-08 | 1 | -12/+54 |
| | |||||
* | Simplify `Evaluator.Mapping` and consolidate logic within the `Segments` ↵ | Li Haoyi | 2018-01-08 | 2 | -7/+5 |
| | | | | data-type | ||||
* | Consolidate `Cross` and `CrossModule`, eliminate now-unused ↵ | Li Haoyi | 2018-01-08 | 1 | -3/+3 |
| | | | | `map`/`flatMap`/`filter` APIs | ||||
* | Swap over to a new, concise `CrossModule[T](..cases)` macro syntax that ↵ | Li Haoyi | 2018-01-07 | 1 | -3/+2 |
| | | | | automatically propagates the `ctx` for you | ||||
* | Generate the `Segments` list at definition time rather than discovery time, ↵ | Li Haoyi | 2018-01-07 | 2 | -8/+8 |
| | | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | Rename `resource/` folders `resources/` to properly match SBT convention, ↵ | Li Haoyi | 2018-01-07 | 3 | -1/+1 |
| | | | | 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 | 2 | -11/+9 |
| | | | | | | | | 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 | ||||
* | Forward bulk output to `stderr` when `--show` is called, reserving `stdout` ↵ | Li Haoyi | 2018-01-05 | 1 | -0/+1 |
| | | | | for the shown JSON blob | ||||
* | Fix scalatest support (#101) | Vadim Chelyshov | 2018-01-05 | 1 | -1/+1 |
| | | | * Fix #99 - it's required to provide sbt.testing.Selector for scalatest | ||||
* | First pass at a ticker-based progress logger to reduce the spamminess of the ↵ | Li Haoyi | 2018-01-04 | 2 | -2/+11 |
| | | | | console | ||||
* | fix idea... again | Li Haoyi | 2018-01-04 | 1 | -1/+1 |
| | |||||
* | First pass at providing new pretty-prints for build ↵ | Li Haoyi | 2018-01-03 | 2 | -2/+2 |
| | | | | `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` | ||||
* | Fix `idea` project generation, and make `Result.Exception` display the ↵ | Li Haoyi | 2018-01-01 | 1 | -5/+5 |
| | | | | offending stack trace so they're easier to debug | ||||
* | Pipe in stdin and stderr. We still need to figure out a policy for how ↵ | Li Haoyi | 2018-01-01 | 2 | -4/+4 |
| | | | | stderr/stdout map to the various `Logger` levels, but for now this shuts up the integration tests | ||||
* | Properly handle `isModule` flag on `sbt.testing.FingerPrint` | Li Haoyi | 2018-01-01 | 1 | -0/+3 |
| |