2019-10-03 16:08:36 +13:00
|
|
|
defmodule Ash.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
2019-12-05 04:18:00 +13:00
|
|
|
@description """
|
|
|
|
A resource declaration and interaction library. Built with pluggable data layers, and
|
|
|
|
designed to be used by multiple front ends.
|
|
|
|
"""
|
|
|
|
|
2020-06-01 17:23:33 +12:00
|
|
|
@version "0.1.2"
|
|
|
|
|
2019-10-03 16:08:36 +13:00
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :ash,
|
2020-06-01 17:23:33 +12:00
|
|
|
version: @version,
|
2019-10-03 16:08:36 +13:00
|
|
|
elixir: "~> 1.9",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
2019-11-28 18:24:29 +13:00
|
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
2019-12-05 04:16:34 +13:00
|
|
|
package: package(),
|
|
|
|
deps: deps(),
|
2019-12-06 07:45:02 +13:00
|
|
|
docs: docs(),
|
2019-12-05 04:18:00 +13:00
|
|
|
description: @description,
|
2019-12-05 04:16:34 +13:00
|
|
|
source_url: "https://github.com/ash-project/ash",
|
|
|
|
homepage_url: "https://github.com/ash-project/ash"
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2019-12-06 07:45:02 +13:00
|
|
|
defp docs() do
|
|
|
|
# The main page in the docs
|
|
|
|
[main: "readme", extras: ["README.md"]]
|
|
|
|
end
|
|
|
|
|
2019-12-05 04:16:34 +13:00
|
|
|
defp package do
|
|
|
|
[
|
|
|
|
name: :ash,
|
|
|
|
licenses: ["MIT"],
|
|
|
|
links: %{
|
|
|
|
GitHub: "https://github.com/ash-project/ash"
|
|
|
|
}
|
2019-10-03 16:08:36 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2019-11-28 18:24:29 +13:00
|
|
|
defp elixirc_paths(:test) do
|
|
|
|
["lib", "test/support"]
|
|
|
|
end
|
|
|
|
|
2019-11-29 19:54:11 +13:00
|
|
|
defp elixirc_paths(_), do: ["lib"]
|
2019-11-28 18:24:29 +13:00
|
|
|
|
2019-10-03 16:08:36 +13:00
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
2019-11-28 18:24:29 +13:00
|
|
|
[
|
2019-12-03 11:01:36 +13:00
|
|
|
{:ecto, "~> 3.0"},
|
2019-12-07 09:54:30 +13:00
|
|
|
{:ets, "~> 0.8.0"},
|
2019-12-05 12:04:07 +13:00
|
|
|
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
|
2020-06-01 17:19:07 +12:00
|
|
|
{:git_ops, "~> 2.0.0", only: :dev},
|
2020-06-01 17:14:23 +12:00
|
|
|
{:picosat_elixir, "~> 0.1.3"},
|
|
|
|
{:nimble_options, "~> 0.2.1"}
|
2019-11-28 18:24:29 +13:00
|
|
|
]
|
2019-10-03 16:08:36 +13:00
|
|
|
end
|
|
|
|
end
|