Packages
absinthe_relay
1.5.2
1.6.0
1.5.2
1.5.1
1.5.0
1.5.0-rc.0
1.5.0-beta.0
1.5.0-alpha.0
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.4.0-rc.1
1.4.0-rc.0
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.3.0-rc.0
1.3.0-beta.1
1.3.0-beta.0
1.2.0
1.2.0-alpha0
1.2.0-alpha.3
1.2.0-alpha.2
1.2.0-alpha.1
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.1
0.8.0
Relay framework support for Absinthe
Current section
Files
Jump to
Current section
Files
absinthe_relay
mix.exs
mix.exs
defmodule AbsintheRelay.Mixfile do
use Mix.Project
@source_url "https://github.com/absinthe-graphql/absinthe_relay"
@version "1.5.2"
def project do
[
app: :absinthe_relay,
version: @version,
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
docs: docs(),
deps: deps(),
xref: [
exclude: [:ecto]
]
]
end
defp package do
[
description: "Relay framework support for Absinthe",
files: ["lib", "mix.exs", "README*", "CHANGELOG*"],
maintainers: ["Bruce Williams", "Ben Wilson"],
licenses: ["MIT"],
links: %{
Changelog: "https://hexdocs.pm/absinthe_relay/changelog.html",
GitHub: @source_url
}
]
end
defp docs do
[
extras: ["CHANGELOG.md", "README.md"],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
formatters: ["html"]
]
end
def application do
[extra_applications: [:logger]]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:absinthe, "~> 1.5.0 or ~> 1.6.0 or ~> 1.7.0"},
{:ecto, "~> 2.0 or ~> 3.0", optional: true},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
end