Current section

Files

Jump to
exns mix.exs
Raw

mix.exs

defmodule Exns.Mixfile do
use Mix.Project
def project do
[app: :exns,
version: "0.3.6-beta",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
description: description,
package: package,
docs: [main: "Exns", source_url: "https://github.com/walkr/exns"],
test_coverage: [tool: Coverex.Task]]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[mod: {Exns, []},
applications: [:logger, :enm, :msgpax, :poolboy]]
end
defp description do
"A library for writing clients to communicate with " <>
"Python nanoservices via nanomsg."
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Tony Walker"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/walkr/exns"}]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type `mix help deps` for more examples and options
defp deps do
[{:enm, git: "https://github.com/basho/enm"},
{:poison, "~> 2.2.0"},
{:msgpax, "~> 0.8.1"},
{:uuid, "~> 1.1.2"},
{:poolboy, "~>1.5.1"},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.11", only: :dev},
{:coverex, "~> 1.4.8", only: :test}]
end
end