-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
57 lines (51 loc) · 1.33 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
defmodule Ports.MixProject do
use Mix.Project
@source_url "https://github.com/martide/ports"
@version "0.1.3"
def project do
[
app: :ports,
version: @version,
elixir: "~> 1.10",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
source_url: @source_url,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test,
"coveralls.json": :test,
"coveralls.post": :test
]
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:nimble_csv, "~> 1.1"},
{:ex_doc, "~> 0.27", only: :dev},
{:excoveralls, "~> 0.14", only: :test},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.2", only: [:dev, :test], runtime: false},
{:sobelow, "~> 0.11", only: [:dev, :test], runtime: false}
]
end
defp description do
"""
Ports is a collection of United Nations Code for Trade and Transport Locations or known as "UN/LOCODE".
"""
end
defp package do
[
maintainers: ["Martide"],
licenses: ["Apache-2.0"],
links: %{"Github" => @source_url}
]
end
end