Packages

Elixir wrapper for the Zomato API

Current section

Files

Jump to
tomato mix.exs
Raw

mix.exs

defmodule Tomato.Mixfile do
use Mix.Project
def project do
[
app: :tomato,
version: "0.1.0",
elixir: "~> 1.5",
description: description(),
package: package(),
start_permanent: Mix.env == :prod,
elixirc_paths: elixirc_paths(Mix.env),
deps: deps()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:httpoison, "~> 1.5.0"},
{:poison, "~> 3.1.0"},
{:mox, "~> 0.4", only: :test},
{:ex_doc, "~> 0.19", only: :dev},
]
end
defp description do
"Elixir wrapper for the Zomato API"
end
defp package do
[
maintainers: ["Daniel Serrano"],
licenses: ["MIT"],
links: %{github: "https://github.com/dnlserrano/tomato"},
]
end
end