ash/mix.exs
Zach Daniel 68b8261411
WIP
2020-04-05 06:25:17 -04:00

57 lines
1.2 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.
"""
def project do
[
app: :ash,
version: "0.1.1",
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},
{:ashton, "~> 0.4.1"},
{:picosat_elixir, "~> 0.1.1"},
{:machinery, "~> 1.0.0"}
]
end
end