defmodule Attrition.MixProject do use Mix.Project def project do [ app: :attrition, version: "0.1.0", elixir: "~> 1.9", description: description(), package: package(), deps: deps(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, name: "Attrition", source_url: "https://github.com/jersearls/attrition", docs: [ main: "Attrition", extras: ["README.md"] ] ] end defp description do """ Attrition provides the ability to display specific data HTML attributes based on the configuration of your mix environment. """ end defp package do [ name: :attrition, files: ["lib", "mix.exs", "README*", "LICENSE*"], maintainers: ["Jeremy Searls, searls@me.com"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/jersearls/attrition"} ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:dialyxir, "~> 1.0", only: [:dev], runtime: false, optional: true}, {:ex_doc, "~> 0.21", only: [:release, :dev]} ] end end