Current section

Files

Jump to
fennel mix.exs
Raw

mix.exs

defmodule Fennel.MixProject do
use Mix.Project
def project do
[
app: :fennel,
version: "0.0.1",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
docs: [extras: ["README.md"], main: "readme"],
description: "GraphQL client",
package: package(),
deps: deps()
]
end
defp package do
[
files: ["lib", "LICENSE", "mix.exs", "README.md"],
maintainers: ["arathunku"],
licenses: ["MIT"],
links: %{
"github" => "https://github.com/arathunku/fennel"
}
]
end
def application do
[
extra_applications: [:logger],
mod: {Fennel.Application, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
# defp elixirc_paths(:dev), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
# {:absinthe, path: "~/code/absinthe", override: true},
{:absinthe, "~> 1.6"},
{:absinthe_phoenix, "~> 2.0", only: :test},
{:absinthe_plug, "~> 1.5", only: :test},
{:cachex, "~> 3.3"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:httpoison, "~> 1.8"},
{:jason, "~> 1.0"},
{:phoenix, "~> 1.6", only: :test},
{:phoenix_pubsub, "~> 2.0", only: :test},
{:plug_cowboy, "~> 2.5", only: :test},
{:slipstream, "~> 0.8"},
{:telemetry, "~> 0.4"},
{:websockex, "~> 0.4"}
]
end
end