Packages

A sink that outputs results to a Postgres database

Current section

Files

Jump to
Raw

mix.exs

defmodule ExdPostgrex.MixProject do
use Mix.Project
def project do
[
app: :exd_postgrex,
version: "0.1.1",
elixir: "~> 1.7",
description: description(),
package: package(),
name: "ExdPostgrex",
source_url: "https://github.com/madshargreave/exd_postgrex",
start_permanent: Mix.env() == :prod,
deps: deps()
]
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
[
{:exd, "~> 0.1.2"},
{:postgrex, "~> 0.13.5"},
{:poison, "~> 3.1"},
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description() do
"A sink that outputs results to a Postgres database"
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "exd_postgrex",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README*),
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/madshargreave/exd_postgrex"}
]
end
end