Current section
Files
Jump to
Current section
Files
fetch_favicon
mix.exs
mix.exs
defmodule FetchFavicon.MixProject do
use Mix.Project
def project do
[
app: :fetch_favicon,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
source_url: "https://github.com/ZakMiller/fetch-favicon"
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
# HTTP Client
{:httpoison, "~> 1.0"},
# HTML Parser
{:floki, "~> 0.20.0"},
# For testing
{:mock, "~> 0.3.0", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"Fetch a favicon with multiple fallbacks, returning the image itself."
end
defp package() do
[
maintainers: ["Zak Miller"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/ZakMiller/fetch-favicon"}
]
end
end