alavrik / erlson

Erlang Simple Object Notation - dynamic name-value dictionary data type and syntax for Erlang
MIT License
81 stars 17 forks source link

Change rebar plugin to use shell init instead of erlc init in pre_doc/2 #10

Closed ghost closed 11 years ago

ghost commented 11 years ago

I found that in my project, running edoc using rebar failed to work on files that use erlson dictionaries. This change to the plugin (calling erlson:init() rather than erlson:init_erlc() in pre_doc/2) fixes the issue for me.

alavrik commented 11 years ago

Hey Nicholas, you were right about this. Edoc doesn't apply parse transformations so your workaround is the only reasonable solution here. I've just merged it manually. Thank you for the patch and sorry for the delay.

ghost commented 11 years ago

Awesome. Thanks for taking care of it.