-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
45 lines (41 loc) · 1.11 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
defmodule Paapi5.MixProject do
use Mix.Project
@source_url "https://github.com/dallagi/paapi5"
@version "1.0.0"
def project do
[
app: :paapi5,
description: "A minimalistic library for the Amazon Product Advertising Api version 5 (PAAPI5).",
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: [
links: %{"GitHub" => @source_url},
licenses: ["MIT"]
],
docs: [
main: "readme",
extras: ["README.md", "LICENSE"],
source_ref: "v#{@version}",
source_url: @source_url
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:crypto, :logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.25", only: :dev, runtime: false},
{:dialyxir, "~> 1.1.0", only: [:dev], runtime: false},
{:jason, "~> 1.2"},
{:httpoison, "~> 1.8", only: [:dev, :test]}
]
end
end