nikdange_me
nikdange_me

Reputation: 3017

How to create rebar.config file Erlang

I want to add dependencies in erlang project through rebar. Do I need to create manually or is there any rebar command to create rebar.config file. Any help appreciated!

Upvotes: 1

Views: 1233

Answers (1)

Asier Azkuenaga
Asier Azkuenaga

Reputation: 1189

If you are using rebar3, the example the docs show already generates the rebar.config file:

rebar3 new release myrelease

And it generates:

===> Writing apps/myrelease/src/myrelease_app.erl
===> Writing apps/myrelease/src/myrelease_sup.erl
===> Writing apps/myrelease/src/myrelease.app.src
===> Writing rebar.config
===> Writing config/sys.config
===> Writing config/vm.args
===> Writing .gitignore
===> Writing LICENSE
===> Writing README.md

Upvotes: 2

Related Questions