defmodule AgeGuard.MixProject do use Mix.Project def project do [ app: :age_guard, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps() ] 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 [ {:ex_doc, "~> 0.21", only: :dev}, {:credo, "~> 1.1.0", only: [:dev, :test], runtime: false} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end defp description do """ Verifies if a person born at a given date meets provided age requirements. """ end defp package do [ files: ["lib", "mix.exs", "README*", "LICENSE*"], maintainers: ["RafaƂ Golarz"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/rafalgolarz/age_guard"} ] end end