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

前端 未结 2 1909
长情又很酷
长情又很酷 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
    
    0 讨论(0)
  • 2021-02-19 00:26
    ./rebar shell
    

    should load all your dependencies.

    0 讨论(0)
提交回复
热议问题