Reputation: 3017
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
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