Packages
avrora
0.5.0
0.30.2
0.30.1
0.30.0
0.29.2
0.29.1
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.2
0.24.1
0.24.0
0.23.0
0.22.0
0.21.1
0.21.0
0.20.0
0.19.0
0.18.1
0.18.0
0.17.0
0.16.0
0.15.0
0.14.1
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0
0.5.1
0.5.0
0.4.0
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.1-beta
0.1.0-beta
An Elixir library for working with Avro messages conveniently. It supports local schema files and Confluent® schema registry.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Avrora.MixProject do
use Mix.Project
def project do
[
app: :avrora,
version: "0.5.0",
elixir: "~> 1.6",
description: description(),
package: package(),
docs: docs(),
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
elixirc_paths: elixirc_paths(Mix.env()),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
deps: deps(),
aliases: aliases()
]
end
def application do
[
extra_applications: [:logger, :inets, :ssl, :erlavro]
]
end
# Pathes to compile
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
defp description do
"""
An Elixir library for convenient work with Avro messages.
It supports local schema files and Confluent® schema registry.
"""
end
defp package do
[
maintainers: ["Sergey Fedorov"],
licenses: ["MIT"],
links: %{
GitHub: "https://github.com/Strech/avrora"
},
files: [
"lib",
"assets",
"mix.exs",
"README.md",
"LICENSE.md"
]
]
end
defp docs do
[
main: "readme",
logo: "assets/logo.png",
source_url: "https://github.com/Strech/avrora",
before_closing_body_tag: fn _format ->
"""
<script type="text/javascript">
var image = document.getElementById("avroraLogo");
image.src = image.getAttribute("src").replace("/assets", "assets");
var badges = document.getElementById("badges");
badges.parentNode.removeChild(badges);
</script>
"""
end,
extras: [
"README.md"
]
]
end
defp deps do
[
{:jason, "~> 1.1"},
{:erlavro, "~> 2.8.1"},
{:mox, "~> 0.5", only: :test},
{:ex_doc, "~> 0.13", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0-rc.6", only: :dev, runtime: false},
{:credo, "~> 1.0.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.11", only: :test}
]
end
defp aliases do
[
docso: ["docs", "cmd open doc/index.html"],
check: ["cmd mix coveralls", "dialyzer", "credo"],
release: [
"check",
fn _ ->
version = Keyword.get(project(), :version)
Mix.shell().cmd("git tag v#{version}")
Mix.shell().cmd("git push --tags")
end,
"hex.publish"
]
]
end
end