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
defmodule ExOvh.Mixfile do
use Mix.Project
def project do
[
app: :ex_ovh,
name: "ExOvh",
version: "0.0.1",
source_url: "https://github.com/stephenmoloney/ex_ovh",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
docs: docs()
]
end
def application() do
[
mod: [],
applications: [:calendar, :crypto, :logger, :openstex]
]
end
defp deps() do
[
{:secure_random, "~> 0.2"},
{:floki, "~> 0.7.1"},
{:calendar, "~> 0.13.2"},
{:og, "~> 0.1"},
{:morph, "~> 0.1.0"},
{:openstex, github: "stephenmoloney/openstex", branch: "master"},
{:markdown, github: "devinus/markdown", only: :dev},
{:ex_doc, "~> 0.11", only: :dev}
]
end
defp description() do
~s"""
An elixir client library for easier use of the 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*)
}
end
defp docs() do
[
main: "api-reference",
extras: [
"docs/getting_started_basic.md": [path: "getting_started_basic.md", title: "Getting Started (Basic)"],
"docs/getting_started_advanced.md": [path: "getting_started_advanced.md", title: "Getting Started (Advanced)"],
"docs/mix_task_basic.md": [path: "mix_task_basic.md", title: "Basic Mix Task (Optional)"],
"docs/mix_task_advanced.md": [path: "mix_task_advanced.md", title: "Advanced Mix Task (Optional)"]
]
]
end
end