forked from marceldegraaf/viex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
59 lines (54 loc) · 1.46 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
defmodule Viex.Mixfile do
use Mix.Project
def project do
[
app: :viex,
version: "0.3.3",
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, "~> 2.0"},
{:floki, "~> 0.30"},
{:exvcr, "~> 0.8", only: :test},
{:excoveralls, "~> 0.5", only: :test},
{:ex_doc, "~> 0.14", only: :dev},
{:earmark, "~> 1.1", only: :dev},
{:credo, "~> 0.5", only: [:dev, :test]}
]
end
defp package do
[
licenses: ["WTFPL"],
maintainers: ["Marcel de Graaf <mail@marceldegraaf.net>"],
files: ["lib", "mix.exs", "README*", "LICENSE*"],
links: %{
"GitHub" => "https://github.com/marceldegraaf/viex",
"Documentation" => "https://hexdocs.pm/viex"
}
]
end
end