isn/mix.exs

59 lines
1.2 KiB
Elixir
Raw Normal View History

2016-01-10 11:12:38 +00:00
defmodule ISN.Mixfile do
2015-05-05 20:15:40 +00:00
use Mix.Project
@version "2.0.1"
2015-05-05 20:15:40 +00:00
def project do
2018-01-26 16:55:15 +00:00
[
app: :isn,
version: @version,
elixir: "~> 1.0",
deps: deps(),
test_paths: ["test"],
# Hex
description: description(),
package: package(),
# Docs
name: "ISN",
docs: [
source_ref: "v#{@version}",
source_url: "https://github.com/Frost/isn",
extras: ["README.md"]
]
]
2015-05-05 20:15:40 +00:00
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[applications: [:postgrex, :ecto, :ecto_sql]]
2015-05-05 20:15:40 +00:00
end
defp description do
"""
Ecto types for the postgreSQL isn extension.
"""
end
defp package do
2018-01-26 16:55:15 +00:00
[
files: ~w(lib README.md mix.exs),
maintainers: ["Martin Frost"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/Frost/isn"}
]
2015-05-05 20:15:40 +00:00
end
defp deps do
2018-01-26 16:55:15 +00:00
[
{:postgrex, "~> 0.16"},
{:ecto, "~> 3.0"},
{:ecto_sql, "~> 3.0"},
{:credo, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.15", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false}
2018-01-26 16:55:15 +00:00
]
2015-05-05 20:15:40 +00:00
end
end