-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
40 lines (35 loc) · 1.01 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
defmodule What3words.Mixfile do
use Mix.Project
@version "2.0.0"
def project do
[app: :what3words,
version: @version,
elixir: "~> 1.2",
description: "Wrapper for the What3Words API",
package: package,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
# Docs
name: "What3Words",
docs: [source_ref: "v#{@version}", main: "What3Words",
source_url: "https://github.com/lucidstack/w3w-elixir-wrapper"]
]
end
def application do
[applications: [:logger, :httpoison]]
end
defp package do
[maintainers: ["Andrea Rossi"],
files: ["lib", "mix.exs", "README.md", "LICENSE"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/lucidstack/w3w-elixir-wrapper"}]
end
defp deps do
[{:credo, "~> 0.3", only: [:dev, :test]},
{:poison, "~> 2.1.0"},
{:httpoison, "~> 0.8.3"},
{:ex_doc, github: "elixir-lang/ex_doc", only: :dev},
{:earmark, ">= 0.0.0", only: :dev}]
end
end