-
Notifications
You must be signed in to change notification settings - Fork 17
/
mix.exs
46 lines (40 loc) · 1.08 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
defmodule Brcpfcnpj.Mixfile do
use Mix.Project
def project do
[
app: :brcpfcnpj,
version: "1.0.0",
elixir: "~> 1.7",
description: description(),
package: package(),
deps: deps()
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:earmark, "~> 1.4", only: [:dev, :docs], runtime: false},
{:ex_doc, "~> 0.30", only: [:dev, :docs], runtime: false},
{:inch_ex, "~> 2.0", only: :docs, runtime: false},
{:credo, "~> 1.7", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:ecto, "~> 3.11", optional: true}
]
end
defp description do
"""
Coleção de funções para validacão e formatação de CPF e CNPJ.
Validation and format for brazilian id documents (CPF/CNPJ).
"""
end
defp package do
[
files: ~w(lib test config mix.exs README*),
maintainers: ["William Gueiros", "Vítor Trindade"],
licenses: ["Unlicense"],
links: %{"GitHub" => "https://github.com/williamgueiros/Brcpfcnpj"}
]
end
end