简体   繁体   中英

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

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?

我没有使用Emacs所以我可能会错过你问题中特定于Emacs的那一面,但是当我想要一个加载了所有我的rebar依赖项的Erlang shell时,我使用:

erl -pa ebin deps/*/ebin
./rebar shell

应该加载所有依赖项。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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