-
Notifications
You must be signed in to change notification settings - Fork 20
/
mix.exs
48 lines (43 loc) · 1.12 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
defmodule ExConstructor.Mixfile do
use Mix.Project
def project do
[
app: :exconstructor,
version: "1.2.14",
description: description(),
package: package(),
elixir: "~> 1.2",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
docs: [main: ExConstructor],
test_coverage: [tool: ExCoveralls],
# test_coverage: [tool: Coverex.Task],
deps: deps()
]
end
def description do
~S"""
ExConstructor generates constructor functions for your structs, handling
map-vs-keyword-list, string-vs-atom-keys, and camelCase-vs-under_score
issues automatically.
"""
end
def package do
[
maintainers: ["pete gamache", "Appcues"],
licenses: ["MIT"],
links: %{GitHub: "https://github.com/appcues/exconstructor"}
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:excoveralls, "~> 0.14", only: :test},
{:earmark, "~> 1.4", only: :dev},
{:ex_doc, "~> 0.26", only: :dev},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
end