defmodule AwsExRayPlug.MixProject do use Mix.Project def project do [ app: :aws_ex_ray_plug, version: "0.1.2", elixir: "~> 1.6", package: package(), start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps() ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] def application do [ applications: [:logger, :plug, :aws_ex_ray] ] end defp deps do [ {:aws_ex_ray, "~> 0.1.12"}, {:ex_doc, "~> 0.15", only: :dev, runtime: false}, {:struct_assert, "~> 0.5.2", only: :test}, {:mox, "~> 0.3.2", only: :test}, {:plug, "~> 1.5"} ] end defp package() do [ description: "AWS X-Ray reporter Plug support", licenses: ["MIT"], links: %{ "Github" => "https://github.com/lyokato/aws_ex_ray_plug", "Docs" => "https://hexdocs.pm/aws_ex_ray_plug" }, maintainers: ["Lyo Kato"] ] end end