defmodule Familiar.MixProject do use Mix.Project @scm_url "https://github.com/Multiverse-io/familiar" def project do [ app: :familiar, version: "0.1.0", elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, package: package(), deps: deps(), source_url: @scm_url, description: """ Ecto helpers for creating database views and functions """ ] end defp elixirc_paths(:test), do: ["lib", "test"] defp elixirc_paths(_), do: ["lib"] # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :postgrex, :ecto] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ecto_sql, "~> 3.0"}, {:postgrex, ">= 0.0.0", only: :test}, {:ex_doc, "~> 0.24", only: :dev, runtime: false} ] end defp package do [ links: %{"GitHub" => @scm_url}, licenses: ["MIT"] ] end end