-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
67 lines (58 loc) · 1.47 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
58
59
60
61
62
63
64
65
66
67
defmodule ExOvh.Mixfile do
use Mix.Project
@version "0.4.0"
@elixir "~> 1.5"
def project do
[
app: :ex_ovh,
name: "ExOvh",
version: @version,
source_url: "https://github.com/stephenmoloney/ex_ovh",
elixir: @elixir,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
docs: docs()
]
end
def application() do
[
applications: [:calendar, :crypto, :hackney, :floki, :logger, :poison]
]
end
defp deps() do
[
{:calendar, "~> 0.17"},
{:poison, "~> 1.5 or ~> 2.0 or ~> 3.0"},
{:httpipe_adapters_hackney, "~> 0.11"},
{:floki, "~> 0.18"},
# dev deps
{:markdown, github: "devinus/markdown", only: :dev},
{:ex_doc, "~> 0.18", only: :dev}
]
end
defp description() do
~s"""
An elixir client library for the OVH API.
"""
end
defp package() do
%{
licenses: ["MIT"],
maintainers: ["Stephen Moloney"],
links: %{ "GitHub" => "https://github.com/stephenmoloney/ex_ovh"},
files: ~w(lib mix.exs README* LICENCE* CHANGELOG*)
}
end
defp docs() do
[
main: "ExOvh",
extras: [
"docs/mix_task.md": [path: "mix_task.md", title: "Step 1: Generating the OVH application"],
"docs/getting_started.md": [path: "getting_started.md", title: "Step 2: Setting up client"]
]
]
end
end