Packages
Absinthe integration for Charon.
Current section
Files
Jump to
Current section
Files
charon_absinthe
mix.exs
mix.exs
defmodule CharonAbsinthe.MixProject do
use Mix.Project
def project do
[
app: :charon_absinthe,
version: "0.3.0",
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
description: """
Absinthe integration for Charon.
""",
package: [
licenses: ["Apache-2.0"],
links: %{github: "https://github.com/weareyipyip/charon_absinthe"},
source_url: "https://github.com/weareyipyip/charon_absinthe"
],
source_url: "https://github.com/weareyipyip/charon_absinthe",
name: "CharonAbsinthe",
docs: [
source_ref: "v0.3.0",
extras: ["./README.md"],
main: "readme"
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.21", only: [:dev, :test], runtime: false},
{:mix_test_watch, "~> 1.0", only: [:dev], runtime: false},
{:absinthe_plug, "~> 1.0"},
{:charon, "~> 4.0 or ~> 3.0 or ~> 2.0"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end