It should be mentioned that in order to use this plugin as a dep this section should be added to rebar.config:
{plugin_dir, "deps/rebar_vsn_plugin/src"}.
Without this section if we run
rebar get-deps
rebar compile
All the code will be compiled but the plugin would not work, because at the compile of the application it wasnot already compiled. Plugin_dir will force compiling of a plugin and will load it at run-time.
It should be mentioned that in order to use this plugin as a dep this section should be added to rebar.config:
Without this section if we run
All the code will be compiled but the plugin would not work, because at the compile of the application it wasnot already compiled. Plugin_dir will force compiling of a plugin and will load it at run-time.