How to get an Erlang app to run at starting rebar3
问题 I can start the application manually from the rebar3 shell by doing application:start(lager) followed by application:start(myapp) . I'd like this to happen without having to type it out, for example by executing a shell script that tells rebar3 to run those commands. Is this possible? 回答1: Assuming that you want to run the application during development you can do it like this: either you specify the apps at commandline like this: rebar3 shell --apps lager myapp or you specify in rebar.config