defmodule Focus.Mixfile do use Mix.Project def project do [app: :focus, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps()] end def application do [applications: [:logger]] end def description() do """ This package is an experiment with lenses. It provides the ability to create and compose lenses and apply them to arbitrarily nested maps, lists, and tuples to view, set, and map over the data contained within. """ end defp deps do [ {:ex_doc, ">= 0.0.0", only: :dev}, {:credo, "~> 0.5.3", only: [:dev, :test]}, {:dialyxir, "~> 0.4.3", only: [:dev, :test]}, {:quixir, "~> 0.9.1", only: [:test]} ] end defp package do [ name: :focus, licenses: ["BSD2"], maintainers: ["Travis Poulsen"], links: %{ "GitHub" => "https://github.com/tpoulsen/focus", } ] end end