Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Everything seems to compile with new, minimal `Discover` implementation... | Li Haoyi | 2018-01-14 | 1 | -18/+23 |
| | |||||
* | `traverse` seems to work, still missing `Command` discovery | Li Haoyi | 2018-01-13 | 1 | -2/+4 |
| | |||||
* | WIP getting rid of `discover/` phase: `core/test:compile` works, but some ↵ | Li Haoyi | 2018-01-13 | 12 | -428/+64 |
| | | | | things still stubbed out with `???` | ||||
* | Make `Module#reflect` only return instance methods | Li Haoyi | 2018-01-13 | 2 | -4/+4 |
| | |||||
* | rename OSet -> Agg | Li Haoyi | 2018-01-13 | 8 | -112/+112 |
| | |||||
* | Migrate most classpath-related code onto `Loose.OSet` abstraction, to ↵ | Li Haoyi | 2018-01-13 | 8 | -10/+15 |
| | | | | enforce deduplication | ||||
* | fix tests | Li Haoyi | 2018-01-12 | 1 | -2/+2 |
| | |||||
* | ability to run multiple tasks via bash/zsh braces expansion (#104) fixes #31 | Nikolay Tatarinov | 2018-01-10 | 2 | -3/+232 |
| | |||||
* | Simplify `Evaluator.Mapping` and consolidate logic within the `Segments` ↵ | Li Haoyi | 2018-01-08 | 7 | -28/+31 |
| | | | | data-type | ||||
* | Consolidate `Cross` and `CrossModule`, eliminate now-unused ↵ | Li Haoyi | 2018-01-08 | 3 | -158/+17 |
| | | | | `map`/`flatMap`/`filter` APIs | ||||
* | Swap over to a new, concise `CrossModule[T](..cases)` macro syntax that ↵ | Li Haoyi | 2018-01-07 | 2 | -16/+16 |
| | | | | automatically propagates the `ctx` for you | ||||
* | Generate the `Segments` list at definition time rather than discovery time, ↵ | Li Haoyi | 2018-01-07 | 9 | -39/+33 |
| | | | | | | | | 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 | 2 | -2/+2 |
| | |||||
* | First pass at implicitly propagating a `def basePath: Path` up the `Module` ↵ | Li Haoyi | 2018-01-07 | 10 | -85/+142 |
| | | | | | | | | 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 | ||||
* | First pass at providing new pretty-prints for build ↵ | Li Haoyi | 2018-01-03 | 8 | -17/+22 |
| | | | | `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-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 | 2 | -2/+2 |
| | | | | offending stack trace so they're easier to debug | ||||
* | Split out generic `T.input` tasks from the `T.source` helpers, allowing ↵ | Li Haoyi | 2017-12-31 | 2 | -6/+6 |
| | | | | `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 | 5 | -15/+18 |
| | | | | | | - Prepare `T.ctx().base: Path` that `Task`s (including `T.source`) can use to find a "default" path for source files. - Simplify `Cacher` | ||||
* | Make use of `T.command`s `T.ctx().dest` in `ScalaPlugin#test.test` and ↵ | Li Haoyi | 2017-12-30 | 1 | -1/+1 |
| | | | | `forkTest`, and allow users to dump the structured JSON test results via `--show` | ||||
* | Re-organize `out/` directory to keep all files related to a particular ↵ | Li Haoyi | 2017-12-29 | 1 | -2/+2 |
| | | | | `Target` within a single folder | ||||
* | Assign different overrides of a Target different cache directories and ↵ | Li Haoyi | 2017-12-29 | 4 | -3/+22 |
| | | | | paths, to fix https://github.com/lihaoyi/mill/issues/86 | ||||
* | Move TestEvaluator to core | Roman Timushev | 2017-12-29 | 1 | -0/+29 |
| | |||||
* | Tidy up Task.scala macros... | Li Haoyi | 2017-12-29 | 1 | -1/+1 |
| | |||||
* | Kill old `LabelledTarget` classes | Li Haoyi | 2017-12-29 | 6 | -30/+28 |
| | |||||
* | WIP Migrating `Target` name/pickler generation from the `Mirror` discovery ↵ | Li Haoyi | 2017-12-29 | 5 | -39/+58 |
| | | | | into the `Target` definitions themselves. Haven't deleted the old/unused `Mirror` data structures yet... | ||||
* | Generate zipmap definitions for higher arities (#81) | Duncan Mak | 2017-12-27 | 1 | -34/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Remove method defns for zipMap/zip that will be generated. The trait Applyer will now extend from ApplyerGenerated which will contain the code-generated definitions. * Script to generate code for Applicative * Generate the zip methods in Target * Generate zip methods in ApplicativeTests * Make sure the full 22-arities are generated * Move code generator into build.sc. Remove generate.sc from directories where code will be generated. * Generate code as part of the SBT also * Properly wire up the test sources * Generate all the code in one place | ||||
* | WIP: provide Mapping as a Ctx argument that can be accessed from within ↵ | Li Haoyi | 2017-12-25 | 4 | -5/+5 |
| | | | | Tasks, for usage within `GenIdea` and similar | ||||
* | Refactor `mill.Main` to avoid going through Ammonite's main-method-dispatch ↵ | Li Haoyi | 2017-12-25 | 1 | -1/+1 |
| | | | | system | ||||
* | Remove `Router.scala`, whose changes have been upstreamed into the Ammonite ↵ | Li Haoyi | 2017-12-24 | 1 | -3/+3 |
| | | | | | | master branch Remove the `out/run.sc` entrypoint script, using Ammonite's new `codeWrapper` API to synthesize the necessary wrapper/forwarder objects to substitute it | ||||
* | Allow Target creation from Result[T] (#79) | Roman Timushev | 2017-12-24 | 1 | -0/+7 |
| | |||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-12-20 | 1 | -0/+3 |
|\ | |||||
| * | Add Sonatypype publishing; | rockjam | 2017-12-20 | 2 | -1/+4 |
| | | | | | | | | now you can publish your module with `mill run MyModule.publish --credentials $SONATYPE_CREDENTIALS --gpgPassphrase $GPG_PASSPHRASE` | ||||
| * | publishLocal - looks like it works | dos65 | 2017-12-20 | 1 | -1/+1 |
| | | |||||
* | | Remove implicit `Discovered.apply[T]` method. This forces people to pass ↵ | Li Haoyi | 2017-12-20 | 10 | -109/+113 |
|/ | | | | around their generated `Discovered.make` structures by hand, making it harder to accidentally generate the same `Discovered` twice and slow down runtime/compilation | ||||
* | upgrade to new version of uPickle/Ammonite | Li Haoyi | 2017-12-16 | 2 | -1/+2 |
| | |||||
* | First pass at using a compiler plugin to remove the need for the `override` ↵ | Li Haoyi | 2017-12-15 | 1 | -1/+14 |
| | | | | | | | | keyword when overriding a field within a `mill.Module` This only applies to `mill.Module`s, not overrides elsewhere which still require the keyword. `mill.Module`s tend to have lots and lots of overriding, so the keyword is basically noise. Also includes the necessary build changes to enable the locally-built Scalac plugin when compiling the test suite. Note that no changes are necessary for the executable assembly, because the `scalac-plugin.xml` will be included in the assembly and get picked up by the Ammonite scalac plugin classloader automatically | ||||
* | Move `Evaluator`s to be long lived, and make tests pass | Li Haoyi | 2017-12-14 | 2 | -17/+24 |
| | |||||
* | `Core.compile()` now works in the build REPL | Li Haoyi | 2017-12-10 | 1 | -2/+2 |
| | |||||
* | First pass at simplifying Ammonite integration and enabling the REPL. Can ↵ | Li Haoyi | 2017-12-10 | 1 | -1/+1 |
| | | | | query for terms like `Core.compile`, but still can't run `Core.compile()` | ||||
* | Add support for compiler plugins and enable acyclic plugin in build | Tin Pavlinic | 2017-12-09 | 1 | -1/+3 |
| | |||||
* | pass compile analysis of projectDeps to zinc, fixes #29 | rockjam | 2017-12-07 | 1 | -0/+3 |
| | |||||
* | Standardize on a `mill.util.Logger` class | Li Haoyi | 2017-12-04 | 4 | -11/+11 |
| | |||||
* | Make more stuff use the implicit `T.ctx()` | Li Haoyi | 2017-12-04 | 1 | -6/+7 |
| | |||||
* | - Make `T.ctx()` available implicitly | Li Haoyi | 2017-12-04 | 2 | -1/+6 |
| | | | | | - Convert `ScalaModule.{compile,assembly}` to use the new implicit `T.ctx()` - Add a `log: PrintStream` to the `T.ctx()`, in preparation for per-task logging | ||||
* | Fix error messages on resolving cross-built modules and re-enable relevant ↵ | Li Haoyi | 2017-11-26 | 1 | -2/+2 |
| | | | | neg tests | ||||
* | Refactor `build.sc` to pull out common `ScalaModule` code into a separate trait | Li Haoyi | 2017-11-26 | 2 | -1/+24 |
| | | | | Also workaround a few scala-reflect bugs in `Discovered` and `Router` that were making this not-work | ||||
* | bring back ScalaModule#run, bring back TaskModule now with a new ↵ | Li Haoyi | 2017-11-26 | 1 | -2/+0 |
| | | | | defaultCommandName member | ||||
* | - Make `Discovered` logic use the public getter of a `val` field, instead of ↵ | Li Haoyi | 2017-11-25 | 6 | -126/+162 |
| | | | | | | | | the private backing-field (which seems to end with a whitespace, and doesn't seem to exist for fields defined in anonynomous classes e.g. `new { val x = 1 }` - Re-enable `mill.main.MainTests.nested` - Share test graphs between `CrossModuleTests`, `DiscoveredTests` and `MainTests` | ||||
* | Streamline cross-build Scala syntax to avoid the unnecessary `List(...)` wrapper | Li Haoyi | 2017-11-25 | 2 | -13/+13 |
| |