New to Elixir, but still loved :)
Many of my mixing tasks depend on HTTPotion.
My mix.exs file is declared as such
def application do [ applications: [:logger, :cowboy, :plug, :httpotion, :poison], mod: {BiddingAgent, []} ] end
Thus, HTTPotion.start is called automatically. However, when I run a task like mix campaign.list , which should trigger an HTTP request, I need to manually call HTTPotion.start .
What is the idiomatic way to make sure the right processes are running for my mix tasks?
Thanks!
source share