defmodule EctoSoftDelete.Mixfile do use Mix.Project def project do [app: :ecto_soft_delete, version: "0.1.0", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, test_coverage: [tool: ExCoveralls], preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test], deps: deps(), # Hex description: "Adds columns, fields, and queries for soft deletion with Ecto.", package: [ maintainers: ["Bryan Joseph"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/revelrylabs/ecto_soft_delete/"}, ]] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [extra_applications: [:logger]] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"} # # Type "mix help deps" for more examples and options defp deps do [ {:ecto, "~> 2.2.0"}, {:postgrex, "~> 0.13", only: [:test]}, {:ex_doc, "~> 0.16", only: [:dev, :test]}, {:credo, "~> 0.8", only: [:dev, :test]}, {:excoveralls, "~> 0.7", only: [:dev, :test]} ] end end