Current section

Files

Jump to
Raw

mix.exs

#
# Copyright (C) 2017 Ispirata Srl
#
# This file is part of Astarte.
# Astarte is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Astarte is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Astarte. If not, see <http://www.gnu.org/licenses/>.
#
defmodule Astarte.Core.Mixfile do
use Mix.Project
def project do
[
app: :astarte_core,
version: "0.10.0-beta.2",
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
description: description(),
package: package(),
deps: deps(),
source_url: "https://github.com/astarte-platform/astarte_core",
homepage_url: "https://astarte-platform.org/"
]
end
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger]]
end
defp deps do
[
{:cyanide, "== 0.5.0"},
{:dialyxir, "== 0.5.1", only: [:dev], runtime: false},
{:ecto, "== 2.2.10"},
{:exprotobuf, "== 1.2.9"},
{:poison, "== 3.1.0"},
{:distillery, "== 1.5.2", runtime: false},
{:excoveralls, "== 0.9.1", only: :test}
]
end
defp description do
"""
Astarte Core library.
"""
end
defp package do
[
maintainers: ["Davide Bettio", "Riccardo Binetti"],
licenses: ["LGPL-3.0-or-later"],
links: %{
"Astarte" => "https://astarte-platform.org",
"Ispirata" => "https://ispirata.com",
"GitHub" => "https://github.com/astarte-platform/astarte_core"
}
]
end
end