-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathmix.exs
76 lines (67 loc) · 1.53 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
68
69
70
71
72
73
74
75
76
Code.ensure_loaded?(Hex) and Hex.start
defmodule Facebook.Mixfile do
use Mix.Project
def project do
[
app: :facebook,
version: "0.23.0",
elixir: "~> 1.0",
description: description(),
package: package(),
aliases: aliases(),
deps: deps(),
source_url: "https://github.com/mweibel/facebook.ex"
]
end
# Configuration for the OTP application
def application do
[
mod: { Facebook, [] },
applications: [:httpoison, :json, :logger],
env: [
env: :dev,
graph_url: "https://graph.facebook.com",
graph_video_url: "https://graph-video.facebook.com",
app_secret: nil,
app_id: nil,
app_access_token: nil
]
]
end
defp description do
"""
Facebook Graph API Wrapper written in Elixir.
Please note, this is very much a work in progress. Feel free to contribute using pull requests.
"""
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/mweibel/facebook.ex"
},
maintainers: [
"mweibel",
"jovannypcg"
]
]
end
defp deps do
[
{:json, ">= 1.2.5"},
{:httpoison, "~> 1.4"},
{:mock, "~> 0.3.2", only: :test},
{:mix_test_watch, "~> 0.9", only: :dev, runtime: false},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.19.2", only: :dev}
]
end
defp aliases do
[
"quality": [
"test",
"credo --strict"
]
]
end
end