Current section
Files
Jump to
Current section
Files
mix.exs
defmodule UniPg.MixProject do
use Mix.Project
def project do
[
app: :uni_pg,
version: "0.2.0",
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: "Compatibility layer for pg and pg2",
source_url: "https://github.com/jechol/uni_pg",
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
[
{:ex_doc, "~> 0.23.0", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.2.0"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/jechol/uni_pg"},
maintainers: ["Jechol Lee(mr.jechol@gmail.com)"]
]
end
defp docs() do
[
main: "readme",
name: "uni_pg",
canonical: "http://hexdocs.pm/uni_pg",
source_url: "https://github.com/jechol/uni_pg",
extras: [
"README.md"
]
]
end
end