-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
74 lines (65 loc) · 1.64 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
defmodule BcInvestiments.MixProject do
use Mix.Project
@version "0.3.5"
@github "https://github.com/AnderLuiz/bc_investiments"
def project do
[
app: :bc_investiments,
version: @version,
elixir: "~> 1.6",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
source_url: @github,
docs: docs(),
package: package(),
description: description(),
deps: deps()
]
end
defp description do
"""
Lib para obter as taxas selic, cdi, ipca e poupança
"""
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger,:httpoison]
]
end
defp docs do
[
main: "readme",
source_ref: "v#{@version}",
source_url: @github,
extras: [
"README.md"
]
]
end
defp package do
# These are the default files included in the package
[
name: :bc_investiments,
maintainers: ["Anderson Luiz Vendruscolo"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => @github}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 0.9.1", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: [:dev]},
{:inch_ex, only: [:docs]},
{:mock, "~> 0.3.0", only: [:test]},
{:floki, "~> 0.20.0"},
{:html5ever, "~> 0.5.0"},
{:httpoison, ">= 0.9.0"},
]
end
defp elixirc_paths(:test), do: ["lib","test/mocks"]
defp elixirc_paths(_), do: ["lib"]
end