-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
A lot of Alchemists today (even experienced ones) seem confused about when they should keep the supervisor mix new
creates for them. I believe we should make people think about when they need a real application in the first place versus making them question if they should remove it.
Examples of new apps that should be library apps but include the default (useless) supervisor and start themselves as real applications:
https://github.com/phoenixframework/phoenix/blob/master/lib/phoenix/supervisor.ex
https://github.com/phoenixframework/ex_conf/blob/master/lib/ex_conf/supervisor.ex
https://github.com/nurugger07/inflex/blob/master/lib/inflex/supervisor.ex
https://github.com/knewter/exdrone/blob/master/lib/exdrone/supervisor.ex
Taken from a random smattering of https://github.com/search?l=elixir&p=1&q=stars%3A%3E1&s=updated&type=Repositories, sorry I can't PR everybody.