Erlang: version checking strictly in release files?

After reading 10.2 Release Resource File , I get the impression that each release of the application is very attached to a specific version of Erlang OTP, is that true?

Can I write version information to a .rel file in the following lines?

   {release,
     {"ch_rel", "A"},
     {erts, "5.3"},
     [{kernel, ">=2.9"},
      {stdlib, ">=1.12"},
      {sasl, ">=1.10"},
      {ch_app, "1"}]
    }.
+3
source share
3 answers

I think you can confuse the terminology a bit. The erlang release

  • Erlang runtime
  • plus your applications you wrote
  • plus configuration

And is designed to deploy a standalone erlang environment and applications for a specific purpose.

. .rel. .app , erlang, .

, , .rel , .

, : -)

+3

, - OTP, , " ". "reltool" OTP (R13B +) , .

+3
0

Source: https://habr.com/ru/post/1717626/


All Articles