update mix file
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 68 69 70 71
diff --git a/mix.exs b/mix.exs
index 84ce989..7caa655 100644
--- a/mix.exs
+++ b/mix.exs
@@ -2,32 +2,54 @@ defmodule ExOvh.Mixfile do
use Mix.Project
def project do
- [app: :ex_ovh,
- version: "0.0.1",
- elixir: "~> 1.1",
- build_embedded: Mix.env == :prod,
- start_permanent: Mix.env == :prod,
- deps: deps
+ [
+ app: :ex_ovh,
+ name: "ExOvh",
+ version: "0.0.1",
+ source_url: "https://github.com/stephenmoloney/ex_ovh",
+ elixir: "~> 1.1",
+ build_embedded: Mix.env == :prod,
+ start_permanent: Mix.env == :prod,
+ description: description(),
+ package: package(),
+ deps: deps()
]
end
- def application do
+ def application() do
[
- mod: {ExOvh, []},
+ mod: [],
applications: [:calendar, :crypto, :httpotion, :logger]
]
end
- defp deps do
+ defp deps() do
[
- {:ibrowse, github: "cmullaparthi/ibrowse", tag: "v4.1.2"},
- {:httpotion, "~> 2.1"},
+ {:httpotion, "~> 2.2"},
{:poison, "~> 2.0"},
{:secure_random, "~> 0.2"},
{:floki, "~> 0.7.1"},
- {:calendar, "~> 0.12.1"},
+ {:calendar, "~> 0.12.4"},
+ {:earmark, "~> 0.2.1", only: :dev},
+ {:ex_doc, "~> 0.11", only: :dev},
{:loggingutils, github: "stephenmoloney/loggingutils", only: :dev}
]
end
+ defp description() do
+ ~s"""
+ An elixir client library for easier use of the Hubic api and Ovh api.
+ """
+ end
+
+
+ defp package do
+ %{
+ licenses: ["MIT"],
+ maintainers: ["Stephen Moloney"],
+ links: %{ "GitHub" => "https://github.com/stephenmoloney/ex_ovh"},
+ files: ~w(lib priv mix.exs README* LICENSE* CHANGELOG* changelog* src)
+ }
+ end
+
end