[erlang-questions] SOLVED -- Re: .app(.src) and .appup(.src) files
Ivan Uemlianin
ivan@REDACTED
Fri Feb 7 22:14:16 CET 2014
Thanks!
On 7/2/2014, "Loïc Hoguin" <essen@REDACTED> wrote:
>They could be generated but they would always end up being wrong and
>wouldn't avoid you to work on them.
>
>On 02/07/2014 10:00 PM, Ivan Uemlianin wrote:
>>
>> Dear Loïc
>>
>> Thanks for your answer.
>>
>> I've just this minute been reading the source of your erlang.mk!
>>
>> Is it right that with .appup files, there isn't the scope for that kind
>> of automation?
>>
>> Best wishes
>>
>> Ivan
>>
>>
>> On 7/2/2014, "Loïc Hoguin" <essen@REDACTED> wrote:
>>
>>> src/appname.app.src typically doesn't contain the list of modules, which
>>> is filled in automatically when copying it to ebin/appname.app.
>>>
>>> That's the whole point of the .app.src really. I don't think tools do
>>> much more than that. I think rebar allows you to set {vsn, git} to
>>> automatically set a version based on the branch/tag/commit/.. but that's it.
>>>
>>> On 02/07/2014 09:25 PM, Ivan Uemlianin wrote:
>>>>
>>>> Dear All
>>>>
>>>> Looking around at how erlang applications are laid out, especially the
>>>> .app and .appup files. Some people have them in myapp/ebin/. Some
>>>> people keep .src versions in myapp/src/ and copy them over to ebin when
>>>> building the app. Some people are half-and-half. Tools make
>>>> assumptions accordingly.
>>>>
>>>> I can see arguments on either side: keeping .src versions in src/ saves
>>>> you putting ebin/ under version control; keeping the files in ebin/
>>>> simplifies the build process. Well, ok, I can see one argument on
>>>> either side.
>>>>
>>>> Might the files ever be altered when they're moved from src/ to ebin/,
>>>> or are they always just copied verbatim?
>>>>
>>>> I don't want to start an argument, I'd just like to make an informed
>>>> choice.
>>>>
>>>> With thanks and best wishes
>>>>
>>>> Ivan
>>>> _______________________________________________
>>>> erlang-questions mailing list
>>>> erlang-questions@REDACTED
>>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>>
>>>
>>> --
>>> Loïc Hoguin
>>> http://ninenines.eu
>>>
>
>--
>Loïc Hoguin
>http://ninenines.eu
>
More information about the erlang-questions
mailing list