在Erlang shell中加载项目的Rebar依赖项的简单方法 [英] Easy way of loading project's Rebar dependencies in Erlang shell

查看:157
本文介绍了在Erlang shell中加载项目的Rebar依赖项的简单方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,使用Rebar作为构建工具。在开发中,我希望将Rebar.config中指定的所有应用依赖关系编译为&装在外壳尽可能的容易。我在Emacs中使用Erlang shell。这是一个快速的方法?

解决方案

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆