Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admit application inference in README #23

Open
EpicOrange opened this issue May 12, 2019 · 0 comments
Open

Admit application inference in README #23

EpicOrange opened this issue May 12, 2019 · 0 comments

Comments

@EpicOrange
Copy link

The README installation defines the :applications key which disables application inference from Elixir 1.4. But defining the :extra_applications key adds to the inferred applications without disabling inference, which would be nice! We probably want something like

def application do
  [ extra_applications: extra_applications(Mix.env) ]
end

defp extra_applications(:dev), do: [:remix]
defp extra_applications(_all), do: []

Maybe even just

def application do
  [ extra_applications: case Mix.env do :dev -> [:remix]; _ -> [] end ]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant