defmodule Metatags.Mixfile do use Mix.Project @version "0.3.2" @description """ Metatags provides an easy to work with API to set default and page specific metatags on a page. """ def project do [ app: :metatags, version: @version, elixir: "~> 1.10", deps: deps(), description: @description, package: package(), test_coverage: [ tool: ExCoveralls ], dialyzer: [ plt_add_apps: [:mix], plt_add_deps: :transitive, ignore_warnings: ".dialyzer_ignore.exs" ], preferred_cli_env: [ credo: :test, dialyzer: :test, coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test ], docs: docs() ] end defp deps do [ {:phoenix_html, "~> 3.1"}, {:plug, "~> 1.0"}, {:ex_doc, "~> 0.16", only: :dev}, {:credo, ">= 0.0.0", only: :test, runtime: false}, {:excoveralls, ">= 0.0.0", only: :test, runtime: false}, {:dialyxir, "~> 1.0", only: :test, runtime: false} ] end defp package do [ name: :metatags, description: @description, files: ["lib", "mix.exs", "README.md", "LICENSE", "CHANGELOG.md"], maintainers: ["johan Tell"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/johantell/metatags"} ] end defp docs do [ main: "readme", extras: [ "README.md", "CHANGELOG.md" ], source_ref: "v#{@version}", source_url: "https://github.com/johantell/metatags" ] end end