-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
46 lines (41 loc) · 908 Bytes
/
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
defmodule Openlibrary.Mixfile do
use Mix.Project
def project do
[app: :openlibrary,
version: "0.2.2",
elixir: "~> 1.12",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
description: "Elixir client for Open Library REST API",
package: package(),
]
end
def application do
[
applications: [
:httpoison,
:logger,
:poison,
],
extra_applications: [:isbn],
mod: {Openlibrary, []}
]
end
defp deps do
[
{:httpoison, "~> 2.2"},
{:isbn, ">= 0.1.0"},
{:poison, "~> 5.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
]
end
def package do
[ name: :openlibrary,
files: ["lib", "mix.exs"],
maintainers: ["Nithin Bekal"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/nithinbekal/openlibrary"},
]
end
end