Because its so much nicer to configure the build via real code. If it were necessary to know the numbers of solarflares, I could check an API and act accordingly before building the project. You can't do that with a JSON file.
But it also enables you, to actually have a plain file, containing nothing but a list and load it from the mix.exs file. This additional file could then be maintained by whatever tool you choose. niahoo osef <[email protected]> schrieb am Fr., 9. Feb. 2018 um 14:30 Uhr: > Hi everyone. I would like to know why Mix developers choose not to use a > pure data file for dependencies and application metadata, unlike many other > languages ? > > Thank you > > Le 9 févr. 2018 20:20, "Louis Pilfold" <[email protected]> a écrit : > >> Hi Zareh >> >> Given the mix.exs file is not a machine readable format how would this be >> implemented? Any Elixir could can be used to build the `project/0` function. >> >> Cheers, >> Louis >> >> On Fri, 9 Feb 2018 at 13:09 Zareh Petrossian <[email protected]> wrote: >> >>> Add packages at a terminal without having to go through a text editor... >>> >>> i.e. >>> >>> mix deps.add plug >>> >>> or >>> >>> mix do deps.add plug, deps.get, deps.compile >>> >>> I think the value/reasoning for this is quite self explanatory. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "elixir-lang-core" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elixir-lang-core/122f7d0d-4de1-4848-b0a0-926df263b67d%40googlegroups.com >>> <https://groups.google.com/d/msgid/elixir-lang-core/122f7d0d-4de1-4848-b0a0-926df263b67d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "elixir-lang-core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elixir-lang-core/CABu8xFDCURB6_8Jvv6QmTF3mYhx%3DJcvuG8OibG80HJFg41HAtA%40mail.gmail.com >> <https://groups.google.com/d/msgid/elixir-lang-core/CABu8xFDCURB6_8Jvv6QmTF3mYhx%3DJcvuG8OibG80HJFg41HAtA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/CAOcJokoGhPB_t0XY8rv-Au1i5LvuNN7eEz5kwdaNtRDfCA9Prw%40mail.gmail.com > <https://groups.google.com/d/msgid/elixir-lang-core/CAOcJokoGhPB_t0XY8rv-Au1i5LvuNN7eEz5kwdaNtRDfCA9Prw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CA%2BbCVsum2_mkdYr%2BFbjifBr5e8QWiuthaY563iVq9bTzLuQkrg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
