I’m attempting to develop a ppx that consumes code in an extension point (i.e. [%txt "foobar"]) and puts a result in a file somewhere.
I’ve written the ppx part which seems to work fine, but I’m trying to figure out if there’s a way to write a dune rule to depend on the generated file from the ppx. So far I’ve tried writing something like
When I specify a ppx in the preprocessing field, it’s automatically run over all modules within the specified stanza. If I write a rule (unless I’m mistaken) I’d have to enumerate all modules in my library/executable for which I want the ppx to be run over
If that’s what I end up having to do I can accept that but I think there should be some other method for specifying this action.