Header files not copied from source

David Smith dizzyd at basho.com
Fri Jun 10 08:02:35 EDT 2011


Is there any reason not have just add a:

{erl_opts, [{i, "src"}]}

to your rebar.config?

D.

On Fri, Jun 10, 2011 at 6:00 AM, Adam Lindberg <eproxus at gmail.com> wrote:
> Hi,
>
> In my application (meck, https://github.com/eproxus/meck) I have a header file in the src folder, used for internal includes that are shared by the modules in the application (the idea is that include/ should only contain API header files).
>
> When running EUnit tests, rebar copies all source files to the .eunit folder but it skips the header files that exist in src. Tools that depend on getting the source (and compiling it) fails because the necessary header files are not in the same folder (PropEr is one of those tools).
>
> Would it be possible to add copying of the header files in the src folder into the .eunit folder as well?
>
> Cheers,
> Adam
>
>
>
> _______________________________________________
> rebar mailing list
> rebar at lists.basho.com
> http://lists.basho.com/mailman/listinfo/rebar_lists.basho.com
>



-- 
Dave Smith
Director, Engineering
Basho Technologies, Inc.
dizzyd at basho.com



More information about the rebar mailing list