-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
54 lines (48 loc) · 1.18 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 Marvel.Mixfile do
use Mix.Project
def project do
[
app: :marvel,
version: "1.0.0",
elixir: "~> 1.0",
escript: escript_config,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
package: package,
description: description
]
end
defp description do
"""
Marvel API and CLI Client
"""
end
defp escript_config do
[main_module: Marvel.CLI, name: "marvel"]
end
def application do
[applications: [:logger, :poison, :httpoison]]
end
defp deps do
[
{ :poison, "~> 1.4" },
{ :httpoison, "~> 0.6"},
{ :timex, "~> 0.13.4"},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.7", only: :dev},
{ :excoveralls, only: [:dev, :test] },
{ :shouldi, github: "batate/shouldi", only: :test }
]
end
defp package do
[ # These are the default files included in the package
files: ["lib", "mix.exs", "README*", "readme*", "LICENSE*", "license*", "CHANGELOG*"],
contributors: ["Bryan Joseph"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/bryanjos/marvel"
}
]
end
end