i trying integrate rebar3 project, reason, can't make find , resolve dependencies when running app.
dependencies downloaded , put in respective folders in project , app compiles without errors, functions dependencies undefined if call them inside project app or erlang repl.
i think missing small point, can't figure out exactly.
my rebar.config simple this:
{erl_opts, [debug_info]}. { deps, [ {jsx} ] }. {cover_enabled, true}.
the project repo here.
can please share link simple example project dependencies present in rebar.config , used in app code?
but functions dependencies undefined if call them inside project app or erlang repl
in order load dependencies in repl, need start repl using rebar3 shell
. rebar3 shell
invokes erl
correct arguments paths of of project's dependencies added erlang's code path. command accepts many flags , arguments; can see full list , description running rebar3 shell
.
Comments
Post a Comment