2016-01-10 11:12:38 +00:00
|
|
|
defmodule ISN.Mixfile do
|
2015-05-05 20:15:40 +00:00
|
|
|
use Mix.Project
|
|
|
|
|
|
2023-09-06 15:28:56 +00:00
|
|
|
@version "3.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,
|
2022-05-10 21:06:32 +00:00
|
|
|
elixir: "~> 1.9",
|
2018-01-26 16:55:15 +00:00
|
|
|
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
|
2023-09-06 15:48:29 +00:00
|
|
|
[extra_applications: [:logger]]
|
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"],
|
2022-05-10 21:08:03 +00:00
|
|
|
licenses: ["Apache-2.0"],
|
2018-01-26 16:55:15 +00:00
|
|
|
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
|
|
|
[
|
2023-07-17 18:03:16 +00:00
|
|
|
{:postgrex, "~> 0.17"},
|
2022-05-10 17:50:06 +00:00
|
|
|
{:ecto, "~> 3.0"},
|
|
|
|
|
{:ecto_sql, "~> 3.0"},
|
|
|
|
|
{:credo, "~> 1.0", only: :dev, runtime: false},
|
2023-07-17 18:03:16 +00:00
|
|
|
{:ex_doc, "~> 0.30", only: :dev, runtime: false},
|
2023-09-06 15:37:54 +00:00
|
|
|
{:makeup_html, ">= 0.0.0", only: :dev, runtime: false},
|
2022-05-10 17:50:06 +00:00
|
|
|
{: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
|