[erlang-questions] What is the compile option equivalent to -pa switch?

Martin Koroudjiev mrtndimitrov@REDACTED
Thu Jan 21 20:00:20 CET 2016


Hello,

I am trying to compile an app with rebar that depends on lager. lager is
placed in a lib folder. If I do

erlc -pa "../lager/ebin" <my files>

all is good. But can't make it work with rebar. Is there an option
equivalent to -pa that I can pass to the compile module?

I tried rebar's lib_dirs option but doesn't seem to work.

Thank you,
Martin



More information about the erlang-questions mailing list