I’d like to generate a file just before the projects compilation finishes which contains collected information from multiple modules.
For example if ModuleA calls in one function MacroModule.collector("a")
and ModuleB calls in different functions MacroModule.collector("a")
and MacroModule.collector("b")
I want to generate a file that contains:
a
b
The deduplication can be solved with ETS, but I’m missing a hook where I know “now I need to write the ETS contents to a file”.
Is there a way to achieve this?