ash/mix.exs
2020-06-01 01:23:46 -04:00

59 lines
1.3 KiB
Elixir

defmodule Ash.MixProject do
use Mix.Project
@description """
A resource declaration and interaction library. Built with pluggable data layers, and
designed to be used by multiple front ends.
"""
@version "0.1.3"
def project do
[
app: :ash,
version: @version,
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
deps: deps(),
docs: docs(),
description: @description,
source_url: "https://github.com/ash-project/ash",
homepage_url: "https://github.com/ash-project/ash"
]
end
defp docs() do
# The main page in the docs
[main: "readme", extras: ["README.md"]]
end
defp package do
[
name: :ash,
licenses: ["MIT"],
links: %{
GitHub: "https://github.com/ash-project/ash"
}
]
end
defp elixirc_paths(:test) do
["lib", "test/support"]
end
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto, "~> 3.0"},
{:ets, "~> 0.8.0"},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:git_ops, "~> 2.0.0", only: :dev},
{:picosat_elixir, "~> 0.1.3"},
{:nimble_options, "~> 0.2.1"}
]
end
end