Hello everybody,
I have a project with localization files kept in “.properties” format.
I have a macro which converts them to Json and applies ZLIB compression to the final json.
Project xml snippet:
<haxeflag name="--macro" value="macros.BuildMacro.compileLocales()"/>
<assets path="assets/locales/common.zjson" rename="locales/common" generate="false" preload="true"/>
The question is how to organize the compilation process to compile locales (run macro) before OpenFl detects that compiled .zjson files are not yet created?
Error:Could not find asset path "assets/locales/common.zjson"
Error: (Command exited with an error code) 1
Error:Compilation failed
Thanks.