-
Notifications
You must be signed in to change notification settings - Fork 37
Description
I have a umbrella project which has multiple OTP applications. I tried to integrate proto files repository as below for one of the application and it works fine . Now if I try to add appl2 in main top application 1 it will not detect the proto files as the path _build/default/lib/appl3 is not discoverable. Is it possible to generalize the {i, "_build/default/lib/appl3/proto"}, value so that it can be detected when appl2 in integrated in another application.
rebar.config of appl2
{deps, [ {appl3, {git, "https://<githuburl>/a/appl3.git", {branch, "master"}}} ]}. {gpb_opts, [ {i, "_build/default/lib/appl3/proto"}, {o_erl, "src"}, {o_hrl, "src"}, {strings_as_binaries, true}, type_specs, maps ]}.
rebar.config of top appl1
{deps, [ {appl2, {git, "https://<githuburl>/a/appl2.git", {branch, "master"}}} {appl3, {git, "https://<githuburl>/a/appl3.git", {branch, "master"}}} ]}.