4 ms·
Hi, author here. I'm slightly confused by your bullet points - are you asking if Hancho supports these patterns? - "Execution" of a rule can add new task nodes
by aappleby 3y ago
Hi, author here. I'm slightly confused by your bullet points - are you asking if Hancho supports these patterns?
- "Execution" of a rule can add new task nodes to the DAG (via Rules with command=<async Pythonfunction>
- Implicit DAG is there in the form of Rules that depend on promises generated by other Rules.
- DAG edge types are just the promises returned by Rules. A custom rule that returns a promise that resolves to an empty array (or a dynamically-populated array) is totally valid
- 'Batteries included' rules are out of scope for the base release but I will probably add a default rules.hancho with my preferred C++ build commands.
- In-system dependency generators can be as simple as "glob.glob('*.cpp')", or as fancy as you're willing to write.
- frumiousirc 3y agoHi, thanks for the answers! Sorry for lack of clarity but yes, these answers were just what I was hoping to learn.