forked from felt/geo_postgis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
57 lines (50 loc) · 1.27 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
defmodule GeoPostgis.Mixfile do
use Mix.Project
def project do
[
app: :geo_postgis,
version: "3.0.0",
elixir: "~> 1.7",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "GeoPostGIS",
elixirc_paths: elixirc_paths(Mix.env()),
source_url: source_url()
]
end
def application do
[extra_applications: [:logger]]
end
defp source_url do
"https://github.com/bryanjos/geo_postgis"
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp description do
"""
PostGIS extension for Postgrex.
"""
end
defp deps do
[
{:geo, "~> 3.1"},
{:postgrex, "~> 0.14"},
{:ex_doc, "~> 0.19.1", only: :dev},
{:ecto_sql, "~> 3.0", optional: true, only: :test},
{:poison, "~> 2.2 or ~> 3.0 or ~> 4.0", optional: true},
{:jason, "~> 1.0", optional: true}
]
end
defp package do
# These are the default files included in the package
[
files: ["lib", "mix.exs", "README.md", "CHANGELOG.md"],
maintainers: ["Bryan Joseph"],
licenses: ["MIT"],
links: %{"GitHub" => source_url()}
]
end
end