I have the following mix.exs file for my Phoenix application. The final dep is " {:worksolvr_services, git: "https://github.com/worksolvr/worksolvr-elixir-services.git"}," which is an umbrella app containing a number of isolated service applications. When I try to run mix phx.server I receive the following error:
** (Mix) Could not start application account_service: could not find application file: account_service.app
Is this configuration possible and if so what am I missing in the configuration?
Thanks,
Peter
defmodule WorksolvrGraphqlServer.MixProject do
use Mix.Project
def project do
[
app: :worksolvr_graphql_server,
version: "0.1.0",
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {WorksolvrGraphqlServer.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
{:phoenix, "~> 1.4.1"},
{:phoenix_pubsub, "~> 1.1"},
{:phoenix_html, "~> 2.11"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:plug_cowboy, "~> 2.0"},
{:distillery, "~> 1.5.5"},
{:absinthe, "~> 1.4.2"},
{:absinthe_plug, "~> 1.4.0"},
{:absinthe_phoenix, "~> 1.4.0"},
{:absinthe_relay, "~> 1.4.0"},
{:worksolvr_services, git: "https://github.com/worksolvr/worksolvr-elixir-services.git"},
]
end
end