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

前端 未结 2 1907
长情又很酷
长情又很酷 2021-02-18 23:48

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

2条回答
  •  囚心锁ツ
    2021-02-19 00:14

    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
    

提交回复
热议问题