ash/mix.exs

58 lines
1.2 KiB
Elixir
Raw Normal View History

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.
"""
2019-10-03 16:08:36 +13:00
def project do
[
app: :ash,
2019-12-09 08:05:38 +13:00
version: "0.1.1",
2019-10-03 16:08:36 +13:00
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
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
defp elixirc_paths(:test) do
["lib", "test/support"]
end
2019-11-29 19:54:11 +13:00
defp elixirc_paths(_), do: ["lib"]
2019-10-03 16:08:36 +13:00
# Run "mix help deps" to learn about dependencies.
defp deps do
[
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},
2019-12-16 13:20:44 +13:00
{:ashton, "~> 0.4.1"},
2020-04-05 22:24:56 +12:00
{:picosat_elixir, "~> 0.1.1"},
{:machinery, "~> 1.0.0"}
]
2019-10-03 16:08:36 +13:00
end
end