Current section
Files
Jump to
Current section
Files
streaming_metrics
mix.exs
mix.exs
defmodule StreamingMetrics.MixProject do
use Mix.Project
def project do
[
app: :streaming_metrics,
version: "2.1.6",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
source_url: "https://github.com/smartcitiesdata/streaming-metrics"
]
end
def application do
[
mod: {StreamingMetrics, []},
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, "~> 0.10", only: [:dev, :test], runtime: false},
{:ex_aws, "~> 2.1.0"},
{:ex_aws_cloudwatch, "~> 2.0.4"},
{:ex_doc, "~> 0.19", only: :dev},
{:httpoison, "~> 1.5.0"},
{:mock, "~> 0.3.1", only: :test, runtime: false},
{:prometheus_ex, "~> 3.0"}
]
end
defp description do
"A metrics recording library"
end
defp package do
[
maintainers: ["smartcitiesdata"],
licenses: ["AllRightsReserved"],
links: %{
"GitHub" => "https://github.com/smartcitiesdata/streaming-metrics"
}
]
end
end