-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathmix.exs
54 lines (48 loc) · 1.3 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
defmodule Elixtagram.Mixfile do
use Mix.Project
def project do
[
app: :elixtagram,
version: "0.6.0",
elixir: ">= 1.2.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
deps: deps(),
docs: [extras: ["README.md"], main: "readme"]
]
end
def application do
[applications: app_list(Mix.env)]
end
defp app_list(_), do: app_list()
defp app_list, do: [:logger, :httpoison, :oauth2]
defp deps do
[
{:httpoison, "~> 1.5"},
{:jason, "~> 1.0", optional: true},
{:oauth2, "~> 0.9.1"},
{:exvcr, "~> 0.10.3", only: [:dev, :test]},
{:ex_doc, "~> 0.15.1", only: [:dev, :docs]},
{:excoveralls, "~> 0.11.1", only: [:dev, :test]},
{:inch_ex, "~> 0.5.6", only: [:dev, :docs]},
{:credo, "~> 0.7.3", only: :dev}
]
end
defp description do
"""
Instagram client library for Elixir.
"""
end
defp package do
[
licenses: ["MIT"],
keywords: ["Elixir", "Instagram", "REST", "HTTP"],
maintainers: ["Zen Savona"],
links: %{"GitHub" => "https://github.com/zensavona/elixtagram",
"Docs" => "https://hexdocs.pm/elixtagram"}
]
end
end