-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmix.exs
65 lines (58 loc) · 1.37 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
58
59
60
61
62
63
64
65
defmodule Eden.Mixfile do
use Mix.Project
@source_url "https://github.com/jfacorro/Eden/"
@version "2.1.0"
def project do
[
app: :eden,
version: @version,
elixir: "~> 1.11",
description: description(),
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs()
]
end
def application do
[applications: [:timex, :elixir_array]]
end
defp deps do
[
{:elixir_array, "~> 2.1.0"},
{:timex, "~> 3.1"},
{:exreloader, github: "jfacorro/exreloader", tag: "master", only: :dev},
{:ex_doc, "~> 0.23", only: :dev},
{:earmark, ">= 0.0.0", only: :dev}
]
end
defp description do
"""
edn (extensible data notation) encoder/decoder implemented in Elixir.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE", "CHANGELOG.md"],
contributors: ["Juan Facorro"],
licenses: ["Apache 2.0"],
links: %{
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"GitHub" => @source_url,
"edn format" => "https://github.com/edn-format/edn"
}
]
end
defp docs do
[
main: "readme",
source_ref: @version,
source_url: @source_url,
extras: [
"README.md",
"CHANGELOG.md"
]
]
end
end