2019-12-05 03:58:20 +13:00
|
|
|
defmodule AshPostgres.MixProject do
|
2019-10-07 09:36:18 +13:00
|
|
|
use Mix.Project
|
|
|
|
|
2019-12-05 04:13:24 +13:00
|
|
|
@description """
|
|
|
|
A postgres data layer for `Ash` resources. Leverages Ecto's postgres
|
|
|
|
support, and delegates to a configured repo.
|
|
|
|
"""
|
|
|
|
|
2019-10-07 09:36:18 +13:00
|
|
|
def project do
|
|
|
|
[
|
2019-12-05 03:58:20 +13:00
|
|
|
app: :ash_postgres,
|
2019-12-09 08:03:39 +13:00
|
|
|
version: "0.1.1",
|
2019-10-07 09:36:18 +13:00
|
|
|
elixir: "~> 1.9",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
2019-12-05 04:13:24 +13:00
|
|
|
deps: deps(),
|
|
|
|
description: @description,
|
|
|
|
package: package(),
|
|
|
|
source_url: "https://github.com/ash-project/ash_postgres",
|
|
|
|
homepage_url: "https://github.com/ash-project/ash_postgres"
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
defp package do
|
|
|
|
[
|
|
|
|
name: :ash_postgres,
|
|
|
|
licenses: ["MIT"],
|
|
|
|
links: %{
|
|
|
|
GitHub: "https://github.com/ash-project/ash_postgres"
|
|
|
|
}
|
2019-10-07 09:36:18 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
|
|
|
{:ecto_sql, "~> 3.0"},
|
|
|
|
{:postgrex, ">= 0.0.0"},
|
2020-01-18 06:24:07 +13:00
|
|
|
# {:ash, "~> 0.1.1"},
|
|
|
|
{:ash, path: "../ash"},
|
2019-12-05 04:13:24 +13:00
|
|
|
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
|
2019-10-07 09:36:18 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|