简体   繁体   English

如何创建rebar.config文件Erlang

[英]How to create rebar.config file Erlang

I want to add dependencies in erlang project through rebar. 我想通过钢筋在erlang项目中添加依赖项。 Do I need to create manually or is there any rebar command to create rebar.config file. 我需要手动创建还是有任何rebar命令来创建rebar.config文件。 Any help appreciated! 任何帮助表示赞赏!

If you are using rebar3, the example the docs show already generates the rebar.config file: 如果您使用的是rebar3,则文档显示的示例已经生成了rebar.config文件:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM