【问题标题】:How I create an Erlang app using rebar3 in shell?如何在 shell 中使用 rebar3 创建 Erlang 应用程序?
【发布时间】:2020-04-05 11:23:09
【问题描述】:

我们可以使用 rebar 创建应用程序,如下所示:

rebar create-app appid=demo

但是在shell中执行rebar3 create-app appid=demo时,出现如下异常:

➜  transaction_publish_service git:(master) rebar3 create-app appid=mqttcli  
===> Command 'create-app' not found

那么,如果create-app在rebar3中被删除了,哪个命令可以替代它呢?

【问题讨论】:

    标签: erlang rebar3


    【解决方案1】:

    rebar3 中的等价物是new。使用

    rebar3 new app demo
    

    更多信息请见documentation

    【讨论】:

      猜你喜欢
      • 2021-08-17
      • 2012-12-14
      • 1970-01-01
      • 2021-12-03
      • 2021-01-22
      • 2020-12-11
      • 1970-01-01
      • 2022-10-01
      • 2017-05-12
      相关资源
      最近更新 更多