rebar get-deps出错

时间:2014-10-23 20:31:40

标签: erlang rebar

我在我的rebar.config中设置了一些依赖项(我以前在其他项目中做过)

rebar.config:

{sub_dirs, ["sbin", "priv"]}.
{lib_dirs, ["deps/erlang"]}.
{erl_opts, [{parse_transform, lager_transform}]}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{deps, [
{lager, "2.0.3",
    {git, "git://github.com/basho/lager.git", {tag, "2.0.3"}}},
{ezk, ".*",
    {git, "git@github.com:campanja/ezk.git"}}
]}.

当我运行rebare get-deps时,我收到以下错误:

ERROR: Dependency dir /Users/me/workspace/erlang/try-ezk/deps/ezk failed application validation with reason:
{missing_app_file,"/Users/me/workspace/erlang/try-ezk/deps/ezk"}.
ERROR: 'get-deps' failed while processing /Users/me/workspace/erlang/try-ezk: rebar_abort

我真的不确定这次我做错了什么。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:3)

你尝试过这种语法吗?

{ezk, ".*",{git, "git://github.com/campanja/ezk.git"}}