-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
52 lines (48 loc) · 1.48 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
defmodule FastRGC.MixProject do
use Mix.Project
@version File.cwd!() |> Path.join("version") |> File.read!() |> String.trim()
@url_github "https://github.com/seniverse/ex_fast_rgc"
def project do
[
app: :ex_fast_rgc,
version: @version,
elixir: "~> 1.8",
description: "Superfast reverse geocoding for city-level.",
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
source_url: @url_github,
homepage_url: "https://hex.pm/packages/ex_fast_rgc",
package: [
licenses: ["Apache 2.0"],
links: %{
"GitHub" => @url_github,
"Docs" => "https://hexdocs.pm/ex_fast_rgc"
},
files: ~w(lib priv .formatter.exs mix.exs README* LICENSE* CHANGELOG* version Makefile)
],
docs: [
extras: ["README.md", "CHANGELOG.md"],
main: "readme"
]
]
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
[
{:poison, "~> 3.1"},
{:mybench, "~> 0.0", only: :dev},
{:exprof, "~> 0.2.0", only: :dev},
{:credo, ">= 1.0.0", only: [:dev, :test], runtime: false},
{:pre_commit_hook, ">= 1.2.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:excoveralls, "~> 0.11", only: [:dev, :test], runtime: false}
]
end
end