Packages

A jsonapi.org serializer and optional server implementation in Elixir. Relax can be used as a standalone API with Relax.Router and Relax.Resources, or integrated into Phoenix using Relax.Serializer.

Current section

Files

Jump to
relax mix.exs
Raw

mix.exs

defmodule Relax.Mixfile do
use Mix.Project
def project do
[app: :relax,
version: "0.2.2",
elixir: "~> 1.0",
package: package,
description: description,
deps: deps]
end
def application do
[applications: applications(Mix.env)]
end
defp applications(:test), do: applications(:all) ++ [:blacksmith]
defp applications(_all), do: [:logger]
defp deps do
[{:cowboy, "~> 1.0"},
{:poison, "~> 1.0"},
{:plug, "~> 0.8"},
{:inflex, "~> 0.2.5"},
{:ja_serializer, "~> 0.1.1"},
{:blacksmith, git: "git://github.com/batate/blacksmith.git", only: :test},
{:ecto, "~> 0.14"},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.7", only: :dev}]
end
defp package do
[
licenses: ["Apache 2.0"],
links: %{
"GitHub" => "https://github.com/AgilionApps/relax"
}
]
end
defp description do
"""
A jsonapi.org serializer and optional server implementation in Elixir.
Relax can be used as a standalone API with Relax.Router and Relax.Resources,
or integrated into Phoenix using Relax.Serializer.
"""
end
end