[erlang-questions] Getting rebar to compile a single module

Tuncer Ayaz <>
Wed Sep 11 18:35:25 CEST 2013


On Thu, Sep 5, 2013 at 12:16 PM, Yash Ganthe wrote:
> Hi,
>
> My application app1 has modules a, b and c. Another application app2
> needs just one module from my application. In the apps's
> rebar.config, I have added app1 as a subdir so that app1 gets
> compiled. This causes all modules of app1 to get compiled.
>
> Is there a way to as rebar to compile only a single module?

No, there isn't because 'rebar compile' operates on projects.

What is the use case or motivation?


More information about the erlang-questions mailing list