I’ve encountered a problem. I want to add the {parse_transform, xxx} option to all erlang files in a specific directory in the project, but not to erlang files in other directories. Does rebar3 support this configuration.
eg:
{erl_opts, [
{i, "include"},
{src_dirs, [
{"src", [{recursive, false}]},
{"src/auto_gen", [{recursive, true}, {parse_transform. lang_parse_transform}, {d, 'LANG', 5}]
]}
]}.
All in the src/auto_gen directory will receive an additional -compile({parse_transform, lang_parse_transform}).And LANG macro definitions