machine-config-suffix-override=.dev
process-includes="_include"
//this relies on internal include wich needs `machine-config-suffix-override`, but it is NOt seen at the time of include
//as it is in outer scope
_include{ file="./hub.sky" pre-process-all-includes=true}
proposed:
machine-config-suffix-override=.dev
process-includes="_include"
//the `with` clause sets internal root sub-tree BEFORE processing subordinate includes
_include{ file="./hub.sky" pre-process-all-includes=true with{machine-config-suffix-override=/$machine-config-suffix-override}}
Consider this:
proposed:
Related:
767