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 "3.0.0"
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.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
[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"],
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"},
{: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},
{: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