Thanks for the brilliant tool.
I have a Makesurefile with goals that are intended to be executed in different environments. Concretely, there is a @goal build which I can run on my macOS laptop, and a @goal install which only makes sense to run on my Debian server. The install goal has some transitive goals with @reached_if directives that invoke systemctl. When I makesure build on my laptop, I get some errors about systemctl not being installed. It seems that all @reached_if directives in a Makesurefile are evaluated greedily, even if the requested goal wouldn't ever reach them. I guess that would ideally not be the case :)
Thanks for the brilliant tool.
I have a Makesurefile with goals that are intended to be executed in different environments. Concretely, there is a
@goal buildwhich I can run on my macOS laptop, and a@goal installwhich only makes sense to run on my Debian server. The install goal has some transitive goals with@reached_ifdirectives that invokesystemctl. When Imakesure buildon my laptop, I get some errors about systemctl not being installed. It seems that all@reached_ifdirectives in a Makesurefile are evaluated greedily, even if the requested goal wouldn't ever reach them. I guess that would ideally not be the case :)