在Erlang shell中加载项目的Rebar依赖项的简单方法 [英] Easy way of loading project's Rebar dependencies in Erlang shell
本文介绍了在Erlang shell中加载项目的Rebar依赖项的简单方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
我没有使用Emacs,所以我可能会错过您Emacs的一面问题,但是当我想要加载所有我的钢筋依赖的Erlang shell时,我使用:
erl -pa ebin deps / * / ebin
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?
解决方案
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
这篇关于在Erlang shell中加载项目的Rebar依赖项的简单方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文