-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
51 lines (45 loc) · 1.09 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
defmodule Want.MixProject do
use Mix.Project
@source_url "https://github.com/wrren/want.erl"
@version "1.18.0"
def project do
[
app: :want,
version: @version,
elixir: "~> 1.10",
deps: deps(),
description: description(),
package: package(),
docs: docs()
]
end
def deps do
[
{:ex_doc, "~> 0.34.2", only: :dev, runtime: false},
{:dialyxir, "~> 1.2", only: [:dev], runtime: false}
]
end
def description do
"""
Type conversion library for Erlang and Elixir.
"""
end
defp docs() do
[
main: "readme",
name: "Want",
source_ref: "v#{@version}",
canonical: "http://hexdocs.pm/want",
source_url: @source_url,
extras: ["README.md", "CHANGELOG.md", "LICENSE"]
]
end
def package do
[
name: "want",
maintainers: ["Warren Kenny"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end