summaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Extract `topoSortedTransitiveTargets` into `Evaluator` companion objectLi Haoyi2017-10-221-1/+1
|
* - `Target.Noop -> Target.Test`Li Haoyi2017-10-221-24/+29
| | | | | - `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-221-11/+22
|
* Fix `Evaluator#prepareTransitiveTargets`Li Haoyi2017-10-221-9/+9
|
* update to utest 0.6.0, enable stacktrace highlightingLi Haoyi2017-10-222-9/+17
|
* Things compile again...Li Haoyi2017-10-221-1/+5
|
* rename hbt -> forgeLi Haoyi2017-10-225-20/+48
|
* - Nest `StaticContext` into `DefCtx`Li Haoyi2017-10-211-1/+1
| | | | - Implement `Target.noop`, to let us construct target graphs without needing to create dummy implementations
* Add `StaticContext` macro to let us distinguish top-level targets from ↵Li Haoyi2017-10-211-0/+36
| | | | dynamically generated targets
* - Convert example workflow to `javac` since `scalac` is slowLi Haoyi2017-10-195-0/+36
| | | | | - Implement `Target.Subprocess`, and use it inside `compileAll` - Move `Main` workflow into `HbtTests`, to be run using uTest
* Include Tarjan's algorithm, for doing a topological sort which elegantly ↵Li Haoyi2017-10-171-0/+89
handles cycles