Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename forge -> mill | Li Haoyi | 2017-11-10 | 11 | -1245/+0 |
| | |||||
* | Add basic tests for un-cached evaluation of `Task`s | Li Haoyi | 2017-11-10 | 3 | -36/+103 |
| | |||||
* | Migrate over to the new `Task`/`Target`/`Command` split | Li Haoyi | 2017-11-09 | 7 | -61/+69 |
| | |||||
* | Move `JavaCompilerJarTests` over to new `Target.ctx()` syntax | Li Haoyi | 2017-11-09 | 1 | -11/+10 |
| | |||||
* | Make `Applicative` macros able to inject a configurable `Ctx` object, used ↵ | Li Haoyi | 2017-11-09 | 1 | -3/+7 |
| | | | | in `Target` to inject the `dest` folder for the `T{...}` block to use | ||||
* | First full metacircular compile-build-execute workflow now works using the ↵ | Li Haoyi | 2017-11-07 | 1 | -2/+2 |
| | | | | | | | | `build.sc` file in the root of the repo. Run using ``` sbt scalaplugin/compile "core/run build.sc ScalaPlugin.console" ``` | ||||
* | - Allow main methods to return `Target[T]`s, so they can then be evaled by ↵ | Li Haoyi | 2017-11-07 | 1 | -1/+50 |
| | | | | | | an external `Evaluator` that has the `Discovered` mapping available - Basic integration tests for `T.command` entrypoint running in the `JavaCompilerJarTests` suite | ||||
* | Break out reusable JVM specific stuff into its own file | Li Haoyi | 2017-11-05 | 1 | -53/+2 |
| | |||||
* | Crib `createJar` code from CBT to properly set manifest | Li Haoyi | 2017-11-05 | 1 | -16/+46 |
| | |||||
* | Break out `Cacher.scala` from `Applicative.scala` to fully separate the ↵ | Li Haoyi | 2017-11-05 | 1 | -1/+0 |
| | | | | gnarly macros | ||||
* | Add a simple consistency checker on `Discovered` to test if any of the ↵ | Li Haoyi | 2017-11-05 | 1 | -39/+48 |
| | | | | observable `Target`s in the given base are not being properly cached | ||||
* | Add test to verify before-hand evaluation order of `Applyable#apply` calls | Li Haoyi | 2017-11-05 | 1 | -0/+15 |
| | |||||
* | Add multiple-identical-apply-calls unit test | Li Haoyi | 2017-11-05 | 1 | -0/+10 |
| | |||||
* | Fix up owner chains to allow `Applyable#apply()` calls to work within lambdas | Li Haoyi | 2017-11-05 | 1 | -0/+12 |
| | |||||
* | More `ApplicativeTests` | Li Haoyi | 2017-11-05 | 1 | -4/+15 |
| | |||||
* | First set of standalone tests for the gnarly `Applicative` logic | Li Haoyi | 2017-11-05 | 2 | -41/+88 |
| | |||||
* | Rename `ApplicativeMacros` and contents to shorter names | Li Haoyi | 2017-11-05 | 1 | -2/+34 |
| | |||||
* | Split out `ApplicativeMacros` from `Target` | Li Haoyi | 2017-11-05 | 2 | -1/+11 |
| | |||||
* | Re-organize `forge/` folder according to ordering of build phases: target ↵ | Li Haoyi | 2017-11-05 | 7 | -2/+17 |
| | | | | definition, target discovery, and target evaluation | ||||
* | Split out `MacroErrorTests` into it's own file | Li Haoyi | 2017-11-04 | 2 | -53/+63 |
| | |||||
* | add another negative test to ensure we give good error messages when trying ↵ | Li Haoyi | 2017-11-04 | 1 | -0/+15 |
| | | | | to apply() a value coming from inside a T{...} block, this time as the param of a lambda | ||||
* | First pass at providing good compile errors to invalid uses of the `T{...}` ↵ | Li Haoyi | 2017-11-04 | 1 | -2/+33 |
| | | | | macro: we should only allow you to `Target#apply()` on expressions whose values come from outside the `T{...}` block | ||||
* | Collapse `LocalDef` into `T{...}` macro, make it more flexible so it only ↵ | Li Haoyi | 2017-11-04 | 1 | -4/+1 |
| | | | | | | caches `def`s (and complains about `val`s) if it's defined top-level in a class/trait/object, for easy overriding. If it's in some helper function somewhere, overriding doesn't matter, and it's up to the user to figure out how to construct a target graph without redundancy | ||||
* | Add some basic compile-time checks to enforce usage of `T{...}` within traits | Li Haoyi | 2017-11-04 | 2 | -0/+11 |
| | |||||
* | Add some tests to verify Cacher happy-paths | Li Haoyi | 2017-11-04 | 1 | -0/+50 |
| | |||||
* | First experiment using `Cacher interface` combined with `Caller` implicits ↵ | Li Haoyi | 2017-11-04 | 3 | -13/+101 |
| | | | | to turn `def foo = T{}` into pseudo-`lazy val`s, that we can override in subclasses using stackable traits | ||||
* | Rename `IntegrationTests` to `JavaCompileJarTests`, make use of new `T{...}` ↵ | Li Haoyi | 2017-11-03 | 1 | -5/+4 |
| | | | | macro in it | ||||
* | Split up forge into `scalaplugin` an `core` subprojects, to allow us to use ↵ | Li Haoyi | 2017-11-03 | 8 | -0/+778 |
the `T#apply` macro in the implementation of `scalaplugin.Subproject` Also needed to implement inter-`Subproject` dependencies so the `MetacircularTests` can continue to support the new layout |