Packages

Postgrex extension for the PostgreSQL extension of the same name

Current section

Files

Jump to
pg_secret mix.exs
Raw

mix.exs

defmodule PGSecret.MixProject do
use Mix.Project
def project do
[
app: :pg_secret,
version: "0.2.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
description: "Postgrex extension for the PostgreSQL extension of the same name",
package: package(),
name: "PGSecret",
source_url: "https://github.com/cipherstash/pg_secret_elixir",
homepage_url: "https://cipherstash.com",
docs: [
main: "PGSecret",
],
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:postgrex, "~> 0.15.5"},
{:apoc, "~> 0.2.0", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
]
end
defp package do
[
maintainers: ["Dan Draper"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/cipherstash/pg_secret_elixir"},
files: ~w(.formatter.exs mix.exs README.md CHANGELOG.md lib)
]
end
end