Easy way of loading project's Rebar dependencies in Erlang shell

爷,独闯天下 提交于 2019-12-05 11:07:25

问题


I've got a project that uses Rebar as build tool. When developing, I would like all my app dependencies that are specified in Rebar.config be compiled & loaded in the shell as easy as possible. I'm using the Erlang shell in Emacs. What's a quick way to do this?


回答1:


I'm not using Emacs so I may miss the Emacs-specific side of your question, but when I want an Erlang shell with all my rebar dependencies loaded, I use:

erl -pa ebin deps/*/ebin



回答2:


./rebar shell

should load all your dependencies.



来源:https://stackoverflow.com/questions/6913523/easy-way-of-loading-projects-rebar-dependencies-in-erlang-shell

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!