ash/mix.exs

56 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,
version: "0.1.0",
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-05 04:35:46 +13:00
{:ets, github: "zachdaniel/ets", ref: "b96da05e75926e340e8a0fdfea9c095d97ed8d50"},
2019-12-05 12:04:07 +13:00
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
2019-12-05 20:18:13 +13:00
{:ashton, "~> 0.3.9"}
]
2019-10-03 16:08:36 +13:00
end
end