Packages

high-productivity collection of tools and practices for rapidly writing production-ready applications

Current section

Files

Jump to
poe_api mix.exs
Raw

mix.exs

defmodule PoeApi.Mixfile do
use Mix.Project
def project do
[app: :poe_api,
description: "high-productivity collection of tools and practices for rapidly writing production-ready applications",
version: "0.2.0",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(Mix.env),
package: package()]
end
def application do
[applications: ([:logger] ++ Keyword.keys(deps(:prod)))]
end
defp deps(:dev) do
[{:ex_doc, ">= 0.0.0", only: :dev}] ++ deps(:prod)
end
defp deps(_) do
[{:concerto, "~> 0.1.2"},
{:concerto_plug, "~> 0.1.0"},
{:cowboy, "~> 1.0.0"},
{:fugue, "~> 0.1.2"},
{:mazurka, "~> 1.0.0"},
{:mazurka_plug, "~> 0.1.0"},
{:plug, "~> 1.2.0"},
{:plug_x_forwarded_proto, "~> 0.1.0"},
{:plug_wait1, "~> 0.2.1"},
{:poison, "2.2.0"},]
end
defp package do
[files: ["lib", "mix.exs", "README*"],
maintainers: ["Cameron Bytheway"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/poegroup/poe-api"}]
end
end