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
rebar3 release runs 30 seconds faster for MongooseIM after setting src_tests option to false in relx.
Detailed explanation esl/MongooseIM#4099
{relx, [{release, { mongooseim, {cmd, "cat VERSION | tr -d '\r\n'"} }, []},
%% Disable some warnings in systools:make_script/2 which are extremely slow (saves 30 seconds)
{src_tests, false}
...
Expected behaviour
src_tests could be disabled by default.
Or we can write in docs that it is very slow.
We could alternatively add a warning suggesting that the option could be disabled, if making script file takes more than 5 seconds.
Maybe relx repo is the better place for this issue.
The text was updated successfully, but these errors were encountered:
Maybe rebar3 should set it to false by default and relx not?
My thinking there is that since rebar3 already does the compilation step its job is to ensure source and object files are up to date and not relx's, so it can be skipped in relx.
Description
rebar3 release
runs 30 seconds faster for MongooseIM after settingsrc_tests
option tofalse
in relx.Detailed explanation esl/MongooseIM#4099
Expected behaviour
src_tests could be disabled by default.
Or we can write in docs that it is very slow.
We could alternatively add a warning suggesting that the option could be disabled, if making script file takes more than 5 seconds.
Maybe relx repo is the better place for this issue.
The text was updated successfully, but these errors were encountered: