forked from marceldegraaf/viex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
54 lines (49 loc) · 1.4 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 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(),
# Documentation
name: "Viex",
source_url: "https://github.com/marceldegraaf/viex",
homepage_url: "https://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.13"},
{:sweet_xml, "~> 0.6.5"},
{:exvcr, "~> 0.11", only: :test},
# {:exvcr, github: "blendmedia/exvcr", ref: "5258f4f1f866f128a19e8ce5ff5e22e6198c2a18", only: :test},
{:ex_doc, "~> 0.14", only: :dev},
{:earmark, "~> 1.1", only: :dev},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:mox, "~> 0.4", only: [: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