mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
48 lines
1 KiB
Elixir
48 lines
1 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.0",
|
|
elixir: "~> 1.9",
|
|
start_permanent: Mix.env() == :prod,
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
package: package(),
|
|
deps: deps(),
|
|
description: @description,
|
|
source_url: "https://github.com/ash-project/ash",
|
|
homepage_url: "https://github.com/ash-project/ash"
|
|
]
|
|
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.7.3"},
|
|
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
|
|
]
|
|
end
|
|
end
|