Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DRY up test suite by making `Discover` generation implicit | Li Haoyi | 2018-01-28 | 6 | -35/+30 |
| | | | | Also avoid passing around `Discover` and `Evaluator` together, since the latter already contains the former | ||||
* | Fix publishLocal of Mill's own build | Li Haoyi | 2018-01-27 | 1 | -2/+2 |
| | |||||
* | Make `idea` task configure the root module to have IntelliJ properly handle ↵ | Li Haoyi | 2018-01-27 | 1 | -2/+2 |
| | | | | the `build.sc` file | ||||
* | Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵ | Li Haoyi | 2018-01-26 | 7 | -26/+83 |
| | | | | to validate the `dest` paths of overriden commands and overriden targets | ||||
* | Remove obsolete `Loader` context API | Li Haoyi | 2018-01-24 | 2 | -19/+4 |
| | |||||
* | Make `T.worker`s compute their signature based on their inputs, rather than ↵ | Li Haoyi | 2018-01-23 | 2 | -32/+35 |
| | | | | the hash of their output, to allow for returning functions/classloaders/subprocesses/etc. which do not hash reliably between process restarts | ||||
* | Make `T.worker`s compute their signature based on their inputs, rather than ↵ | Li Haoyi | 2018-01-23 | 1 | -19/+26 |
| | | | | the hash of their output, to allow for returning functions/classloaders/subprocesses/etc. which do not hash reliably between process restarts | ||||
* | update mill build to work with new isolated scalaworker | Li Haoyi | 2018-01-23 | 2 | -13/+2 |
| | |||||
* | Small cleanup of duplicate `Task` code into `NamedTaskImpl` | Li Haoyi | 2018-01-23 | 1 | -20/+10 |
| | |||||
* | WIP splitting `mill.scalaworker` out of `mill.scalalib` and into it's own ↵ | Li Haoyi | 2018-01-23 | 7 | -62/+74 |
| | | | | 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 | 3 | -15/+27 |
| | | | | | | | | | | | | `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 | ||||
* | Give `mill.Module` a useful default `toString`, and make the REPLs pprint ↵ | Li Haoyi | 2018-01-21 | 2 | -1/+2 |
| | | | | work for non-top-level modules | ||||
* | Implement basic wildcard task running via e.g. `mill _.compile` | Li Haoyi | 2018-01-21 | 5 | -25/+70 |
| | |||||
* | - Make `docsJar` and `sourcesJar` more robust against empty inputs | Li Haoyi | 2018-01-21 | 2 | -27/+33 |
| | | | | | - `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 | 48 | -1960/+0 |
| | | | | 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 | ||||
* | Use the classloader that defines the `build.sc` root Module to get a ↵ | Li Haoyi | 2018-01-19 | 2 | -2/+8 |
| | | | | classpath signature, to ensure that changes to the root module definition flush caches | ||||
* | Run Main.main in current process (#115) | Minghao Liu | 2018-01-19 | 1 | -0/+57 |
| | | | | | | | | | | | | | | | | * no message * fix compile * fix compile again * finishing in process running * remove comment * fix bug * fix bug | ||||
* | Introduce an Ammonite build to our test suite | Li Haoyi | 2018-01-17 | 4 | -22/+21 |
| | |||||
* | Implement downloading/caching of binaries and java-source-folder support to ↵ | Li Haoyi | 2018-01-17 | 1 | -0/+26 |
| | | | | make better-files benchmarks compile; fixes https://github.com/lihaoyi/mill/issues/37 | ||||
* | - Collapse `Ctx#segments` and `Ctx#segments0` into one field, instead doing ↵ | Li Haoyi | 2018-01-15 | 6 | -36/+34 |
| | | | | the prefix-stripping up-front in `BaseModule` | ||||
* | Add some test cases for nested target discovery, which also implicitly tests ↵ | Li Haoyi | 2018-01-15 | 4 | -8/+67 |
| | | | | nested module discovery | ||||
* | - Test cases for `basePath` behavior in cross-builds | Li Haoyi | 2018-01-15 | 4 | -71/+57 |
| | | | | | - Avoid reversing the order of cross values when there are more than one provided - Remove now-duplicate `indirectNestedCross` test case | ||||
* | Extract out miscellanous mill.define.Module helpers into the millInternal ↵ | Li Haoyi | 2018-01-14 | 7 | -73/+87 |
| | | | | namespace | ||||
* | - Move synthetic SBT projects into `target` folder | Li Haoyi | 2018-01-14 | 1 | -5/+0 |
| | | | | | | - Update readme and `ci/` scripts to refer to new project layout - Remove stale `pprint.log`s | ||||
* | 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 | 5 | -14/+19 |
| | |||||
* | fix-repl | Li Haoyi | 2018-01-14 | 1 | -1/+2 |
| | |||||
* | more work to get tests passing... | Li Haoyi | 2018-01-14 | 3 | -9/+25 |
| | |||||
* | Some tweaks to get tests passing... | Li Haoyi | 2018-01-14 | 6 | -38/+21 |
| | |||||
* | Everything seems to compile with new, minimal `Discover` implementation... | Li Haoyi | 2018-01-14 | 8 | -54/+147 |
| | |||||
* | `traverse` seems to work, still missing `Command` discovery | Li Haoyi | 2018-01-13 | 3 | -19/+37 |
| | |||||
* | WIP getting rid of `discover/` phase: `core/test:compile` works, but some ↵ | Li Haoyi | 2018-01-13 | 25 | -770/+258 |
| | | | | things still stubbed out with `???` | ||||
* | Make `Module#reflect` only return instance methods | Li Haoyi | 2018-01-13 | 3 | -4/+7 |
| | |||||
* | Remove targets generation in Mirror, in favor of just using java.reflect | Li Haoyi | 2018-01-13 | 7 | -39/+23 |
| | |||||
* | rename OSet -> Agg | Li Haoyi | 2018-01-13 | 17 | -184/+184 |
| | |||||
* | Migrate most classpath-related code onto `Loose.OSet` abstraction, to ↵ | Li Haoyi | 2018-01-13 | 17 | -114/+131 |
| | | | | enforce deduplication | ||||
* | Allow `Cross`-builds to themselves be `Module`s so you can nest stuff inside | Li Haoyi | 2018-01-12 | 1 | -2/+7 |
| | | | | Also properly propagate `mainClass` into `assembly` | ||||
* | fix tests | Li Haoyi | 2018-01-12 | 2 | -3/+3 |
| | |||||
* | Add some doccomments | Li Haoyi | 2018-01-12 | 3 | -0/+26 |
| | |||||
* | Allow implicit `crossModule()` syntax to automatically find a set of ↵ | Li Haoyi | 2018-01-12 | 2 | -4/+27 |
| | | | | cross-coordinates which are compatible with a given implicit resolver | ||||
* | - Better error reporting in `ReplApplyHandler` | Li Haoyi | 2018-01-12 | 2 | -2/+28 |
| | | | | | - 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 bit | Li Haoyi | 2018-01-12 | 1 | -32/+16 |
| | |||||
* | Properly close file inputstreams after hashing files, and eagerly close ↵ | Li Haoyi | 2018-01-11 | 1 | -0/+2 |
| | | | | classloaders used for running tests | ||||
* | ability to run multiple tasks via bash/zsh braces expansion (#104) fixes #31 | Nikolay Tatarinov | 2018-01-10 | 5 | -49/+415 |
| | |||||
* | 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 | 17 | -102/+105 |
| | | | | data-type | ||||
* | Consolidate `Cross` and `CrossModule`, eliminate now-unused ↵ | Li Haoyi | 2018-01-08 | 7 | -200/+33 |
| | | | | `map`/`flatMap`/`filter` APIs | ||||
* | Swap over to a new, concise `CrossModule[T](..cases)` macro syntax that ↵ | Li Haoyi | 2018-01-07 | 5 | -66/+76 |
| | | | | automatically propagates the `ctx` for you | ||||
* | Generate the `Segments` list at definition time rather than discovery time, ↵ | Li Haoyi | 2018-01-07 | 18 | -270/+217 |
| | | | | | | | | 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 | 7 | -65/+69 |
| |