defmodule PostalCode.MixProject do
use Mix.Project
def project do
[
app: :postal_code,
version: "0.5.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
name: "Norwegian Postal Code Parser",
package: package()
]
end
defp package do
[
files: ["lib", "mix.exs", "postal_codes.csv", "postnummer.csv"],
maintainers: ["Petter Kaspersen"],
licenses: ["MIT"],
links: []
]
end
defp description do
"""
Parses Norwegian Postal Codes using data from Bring
"""
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
[
{:csv, "~> 2.3.1"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
end