What is the easiest way for beginners to install a module?

后端 未结 6 1610
野趣味
野趣味 2020-12-11 17:45

I checked out rebar, but that seems way too complex. Maybe someone could post something that says, %Post your code here in the following rebar app

6条回答
  •  执笔经年
    2020-12-11 18:30

    If you want to experiment erlang, with some toy application, in order to master the language, the processes creation, communication and even simple supervision tree, you do not really need an application, a simple standard otp directory structure is enough and start function in.

    On the other hand, if you intend to build an application with dependencies, if you want to create a library, a release, manage unitary test and functional test... then rebar (and rebar3) will make your life much simpler.

    You will find in learn you some erlang: Building application with OTP and the following chapters the basic to understand how the application or release are defined.

提交回复
热议问题