2016-01-10 11:12:38 +00:00
|
|
|
defmodule ISN.Mixfile do
|
2015-05-05 20:15:40 +00:00
|
|
|
use Mix.Project
|
|
|
|
|
|
2018-01-26 16:59:55 +00:00
|
|
|
@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
|
2016-07-17 17:24:31 +00:00
|
|
|
[applications: [:postgrex, :ecto]]
|
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.13.2"},
|
|
|
|
|
{:ecto, ">= 2.1.4"},
|
|
|
|
|
{:credo, "~> 0.7", only: :dev},
|
|
|
|
|
{:ex_doc, "~> 0.15", only: :dev}
|
|
|
|
|
]
|
2015-05-05 20:15:40 +00:00
|
|
|
end
|
|
|
|
|
end
|