summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Extract `topoSortedTransitiveTargets` into `Evaluator` companion objectLi Haoyi2017-10-222-27/+32
|
* - `Target.Noop -> Target.Test`Li Haoyi2017-10-222-27/+43
| | | | | - `Target.Test`'s output now depends on its upstream targets, and is now configurable, so you can use it to test change propagations - Move `ForgeTests`'s targets inside the `Tests` block, since they're now mutable and so shouldn't remain global
* Add simple unit tests for `topoSortedTransitiveTargets`Li Haoyi2017-10-222-17/+26
|
* Fix `Evaluator#prepareTransitiveTargets`Li Haoyi2017-10-222-17/+16
|
* update to utest 0.6.0, enable stacktrace highlightingLi Haoyi2017-10-223-11/+19
|
* Things compile again...Li Haoyi2017-10-223-7/+14
|
* rename hbt -> forgeLi Haoyi2017-10-2215-94/+136
|
* - Nest `StaticContext` into `DefCtx`Li Haoyi2017-10-214-34/+40
| | | | - Implement `Target.noop`, to let us construct target graphs without needing to create dummy implementations
* Implement `DefCtx`, to bundle together `StaticContext` and ↵Li Haoyi2017-10-214-26/+33
| | | | `sourcecode.Enclosing`
* Add `StaticContext` macro to let us distinguish top-level targets from ↵Li Haoyi2017-10-213-0/+63
| | | | dynamically generated targets
* - Convert example workflow to `javac` since `scalac` is slowLi Haoyi2017-10-1912-54/+74
| | | | | - Implement `Target.Subprocess`, and use it inside `compileAll` - Move `Main` workflow into `HbtTests`, to be run using uTest
* - Add a configurable workspace to `evaluateTargetGraph`Li Haoyi2017-10-185-120/+136
| | | | - Break up `Hbt.scala` into `Args.scala` `Target.scala` and `Evaluator.scala`
* Basic evaluator that creates classfiles and a jar now worksLi Haoyi2017-10-187-51/+92
|
* Break up `Main.scala`Li Haoyi2017-10-173-137/+159
|
* fleshed out `evaluateTargetGraph` a littleLi Haoyi2017-10-171-4/+31
|
* Include Tarjan's algorithm, for doing a topological sort which elegantly ↵Li Haoyi2017-10-174-13/+197
| | | | handles cycles
* Create test paths and test filesLi Haoyi2017-10-164-24/+35
|
* Fleshed out basic implementationsLi Haoyi2017-10-163-1/+187
|
* first commitLi Haoyi2017-10-164-0/+18