2015-05-05 20:15:40 +00:00
|
|
|
defmodule Isn.Mixfile do
|
|
|
|
|
use Mix.Project
|
|
|
|
|
|
2016-01-03 21:17:01 +00:00
|
|
|
@version "0.1.2"
|
2015-05-05 20:15:40 +00:00
|
|
|
|
|
|
|
|
def project do
|
|
|
|
|
[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"]
|
|
|
|
|
]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# Configuration for the OTP application
|
|
|
|
|
#
|
|
|
|
|
# Type `mix help compile.app` for more information
|
|
|
|
|
def application do
|
2015-08-10 19:57:49 +00:00
|
|
|
[applications: [:postgrex]]
|
2015-05-05 20:15:40 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
defp description do
|
|
|
|
|
"""
|
|
|
|
|
Ecto types for the postgreSQL isn extension.
|
|
|
|
|
"""
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
defp package do
|
2015-05-27 17:17:36 +00:00
|
|
|
[files: ~w(lib README.md mix.exs),
|
2016-01-03 21:17:01 +00:00
|
|
|
maintainers: ["Martin Frost"],
|
2015-05-27 17:17:36 +00:00
|
|
|
licenses: ["Apache 2.0"],
|
2015-05-05 20:15:40 +00:00
|
|
|
links: %{"GitHub" => "https://github.com/Frost/isn"}]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
defp deps do
|
2016-01-03 21:17:01 +00:00
|
|
|
[{:postgrex, ">= 0.9.1"},
|
2015-09-30 10:18:07 +00:00
|
|
|
{:ecto, "~> 1.0"},
|
2016-01-03 21:17:01 +00:00
|
|
|
{:credo, "~> 0.1", only: :dev},
|
2015-09-30 10:18:07 +00:00
|
|
|
{:ex_doc, "~> 0.10", only: :dev},
|
2015-08-10 20:06:42 +00:00
|
|
|
{:earmark, ">= 0.0.0", only: :dev}]
|
2015-05-05 20:15:40 +00:00
|
|
|
end
|
|
|
|
|
end
|