defmodule ArkePostgres.MixProject do use Mix.Project @version "0.3.5" @scm_url "https://github.com/arkemishub/arke-postgres" @site_url "https://arkehub.com" def project do [ app: :arke_postgres, version: @version, build_path: "./_build", config_path: "./config/config.exs", deps_path: "./deps", lockfile: "./mix.lock", elixir: "~> 1.13", source_url: @scm_url, homepage_url: @site_url, description: description(), package: package(), start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger], mod: {ArkePostgres.Application, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do List.flatten([ {:ecto_sql, "~> 3.11.0"}, {:postgrex, ">= 0.0.0"}, {:jason, "~> 1.2"}, {:ex_doc, "~> 0.28", only: :dev, runtime: false}, {:credo, "~> 1.6", only: [:dev, :test], runtime: false}, {:excoveralls, "~> 0.10", only: :test}, {:arke, "~> 0.3.2"} ]) end defp description() do "Arke postgres" end defp package() do [ # This option is only needed when you don't want to use the OTP application name name: "arke_postgres", # These are the default files included in the package licenses: ["Apache-2.0"], links: %{ "Website" => @site_url, "Github" => @scm_url } ] end end