Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Sharing modules between multiple applications #2835

Open
leondavi opened this issue Oct 2, 2023 · 0 comments
Open

Question: Sharing modules between multiple applications #2835

leondavi opened this issue Oct 2, 2023 · 0 comments

Comments

@leondavi
Copy link

leondavi commented Oct 2, 2023

As an example, the following directories hierarchy is given:
App1
-- rebar.config
App2
-- rebar.config
SharedModules
-- example1.erl
-- example2.erl

How should I modify rebar.config of both applications to include modules of SharedModules directory and successfully compile release as well (using rlx)?

Clarification:
rebar3 compile and rebar3 release commands outputs should include modules within SharedModules, allowing App1 and App2 importing them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant