You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rebar returns successfully if it fails to fetch deps appropriately during the compile command.
λ c → cat rebar.config
{deps, [{bad, ".*", {git, "git@bitbucket.org:ferd/fake-repo.git", "master"}}]}.
λ c → DEBUG=1 ~/code/self/rebar3/rebar3 compile
===> Consult config file "rebar.config"
===> Consult config file "rebar.lock"
===> Consult config file "/tmp/c/rebar.config"
===> Consult config file "rebar.lock"
===> Consult config file "/tmp/c/rebar.config"
===> Fetching bad
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> sh info:
cwd: "/tmp/c"
cmd: git clone -n git@bitbucket.org:ferd/fake-repo.git .tmp_dir857810636347
===> opts: [{cd,"/tmp"}]
===> Port Cmd: "git clone -n git@bitbucket.org:ferd/fake-repo.git .tmp_dir857810636347"
Port Opts: [{cd,"/tmp"},
exit_status,
{line,16384},
use_stdio,stderr_to_stdout,hide]
===> sh(git clone -n git@bitbucket.org:ferd/fake-repo.git .tmp_dir857810636347)
failed with return code 128 and the following output:
Cloning into '.tmp_dir857810636347'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
λ c → echo $!
0
The status code remains 0 whether it runs as install_deps or compile.
And the resulting tree:
λ c → tree _build
_build
└── default
└── lib
└── bad
The text was updated successfully, but these errors were encountered:
Rebar returns successfully if it fails to fetch deps appropriately during the compile command.
The status code remains 0 whether it runs as
install_deps
orcompile
.And the resulting tree:
The text was updated successfully, but these errors were encountered: