-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
48 lines (41 loc) · 1.1 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
defmodule YelpEx.Mixfile do
use Mix.Project
@version "0.2.1"
def project do
[app: :yelp_ex,
name: "YelpEx",
version: @version,
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
description: description(),
docs: docs()]
end
def application do
[applications: [:logger, :oauth2, :httpoison],
mod: {YelpEx, []}]
end
defp deps do
[{:oauth2, "~> 0.8 or ~> 0.9"},
{:poison, "~> 3.0 or ~> 3.1 or ~> 4.0"},
{:httpoison, "~> 0.10.0 or ~> 0.13 or ~> 1.2"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}]
end
defp description do
"An Elixir client for the Yelp Fusion API (Yelp API v3)"
end
defp docs do
[extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/jdesilvio/yelp_ex"]
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["John DeSilvio"],
licenses: ["MIT"],
links: %{github: "https://github.com/jdesilvio/yelp_ex"}]
end
end