Current section

Files

Jump to
avrolixr mix.exs
Raw

mix.exs

defmodule Avrolixr.Mixfile do
use Mix.Project
def project do
[
app: :avrolixr,
build_embedded: Mix.env == :prod,
deps: deps(),
description: description(),
dialyzer: [plt_add_deps: :transitive, plt_file: ".local.plt"],
elixir: "~> 1.3",
package: package(),
start_permanent: Mix.env == :prod,
version: "0.2.1"
]
end
def application do
[
mod: {Avrolixr, []}
]
end
defp deps do
[
# So that it can be published to Hex
{:erlavro, git: "https://github.com/avvo/erlavro", ref: "fb7c7f0", only: [:test]},
{:poison, "~> 2.0"},
# NON-PRODUCTION DEPS
{:dialyxir, "~> 0.5", only: [:dev]},
{:ex_doc, "~> 0.15", only: [:dev]}
]
end
defp description do
"""
An Elixir wrapper for the `erlavro` Avro package.
"""
end
defp package do
[
name: :avrolixr,
files: ~w[lib mix.exs CHANGELOG.md README.md LICENSE.txt],
maintainers: ["Donald Plummer", "John Fearnside"],
licenses: ~w[MIT],
links: %{
"GitHub" => "https://github.com/avvo/avrolixr",
"Docs" => "https://hexdocs.pm/avrolixr"
}
]
end
end