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(), 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.3.10"} ] end end