defmodule Recall.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :recall, version: @version, elixir: "~> 1.17", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), # Integration support files are `Code.require_file`'d by the suite, not run # as test files — keep `mix test` from warning that they don't match the # test pattern. test_ignore_filters: [~r"/integration/support/"], deps: deps(), description: "An Ecto 3 adapter for Mnesia — memory, recollected.", package: package(), name: "Recall", source_url: "https://github.com/dkuku/recall" ] end def application do [ # :mnesia is started explicitly by the adapter so we can configure its # data dir before boot; we only declare it so releases bundle it. extra_applications: [:logger, :mnesia] ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] defp deps do [ {:ecto, "~> 3.14.0"}, {:ecto_sql, "~> 3.14.0"}, {:styler, "~> 1.0"}, {:benchee, "~> 1.3", only: :dev, runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end defp package do [ licenses: ["MIT"], links: %{"GitHub" => "https://github.com/dkuku/recall"} ] end end