forked from Green-Edge/viex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
60 lines (55 loc) · 1.49 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
defmodule Viex.Mixfile do
use Mix.Project
def project do
[
app: :viex,
version: "0.2.0",
elixir: "~> 1.4",
description: "Elixir package to validate European VAT numbers with the VIES service.",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test,
"coveralls.semaphore": :test
],
# Documentation
name: "Viex",
source_url: "https://github.com/marceldegraaf/viex",
homepage_url: "http://github.com/marceldegraaf/viex",
docs: [main: "Viex", extras: ["README.md"]]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:httpoison, "~> 1.8.0"},
{:floki, "~> 0.32"},
{:hackney, "~> 1.18.0"},
{:exvcr, "~> 0.13", only: :test},
{:excoveralls, "~> 0.14", only: :test},
{:ex_doc, "~> 0.26", only: :dev},
{:earmark, "~> 1.4", only: :dev},
{:credo, "~> 0.6", only: [:dev, :test]}
]
end
defp package do
[
licenses: ["WTFPL"],
maintainers: ["Marcel de Graaf <[email protected]>"],
files: ["lib", "mix.exs", "README*", "LICENSE*"],
links: %{
"GitHub" => "https://github.com/marceldegraaf/viex",
"Documentation" => "https://hexdocs.pm/viex"
}
]
end
end