defmodule FlyPostgres.MixProject do use Mix.Project def project do [ app: :fly_postgres, version: "0.1.4", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, name: "Fly Postgres", source_url: "https://github.com/superfly/fly_rpc_elixir/tree/main/fly_postgres", description: description(), deps: deps(), package: package(), docs: docs() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:fly_rpc, "~> 0.1.1"}, {:postgrex, ">= 0.0.0"}, {:ex_doc, "~> 0.25", only: :dev} ] end defp description do """ Library for working with local read-replica postgres databases and performing writes through RPC calls to other nodes in the primary Fly.io region. """ end defp docs do [ main: "readme", # logo: "path/to/logo.png", extras: ["README.md"] ] end defp package do [ files: ["lib", "mix.exs", "README*", "../LICENSE*"], maintainers: ["Mark Ericksen"], licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/superfly/fly_rpc_elixir/tree/main/fly_postgres"} ] end end