erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
696 stars 233 forks source link

Add fail_if_missing option #939

Open Polexy opened 2 months ago

Polexy commented 2 months ago

In case of some deps missing - relx successful build release

rebar3 release as prod
===> Verifying dependencies...
===> Analyzing applications...
...
===> There are missing function calls in the release.
===> Make sure all applications needed at runtime are included in the release.
...
===> Release successfully assembled: _build/default/rel/myapp

echo $?
0

so in case of build in ci/cd it may be useful to fail command if missing deps in relx