且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Erlang shell中加载项目的Rebar依赖项的简单方法

更新时间:2023-11-28 20:54:16

我没有使用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