forked from johnnoone/elixir-duration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
59 lines (53 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
58
59
defmodule Duration.MixProject do
use Mix.Project
def project do
[
app: :duration,
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "Duration",
source_url: "https://github.com/johnnoone/elixir-duration",
homepage_url: "https://github.com/johnnoone/elixir-duration",
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:nimble_parsec, "~> 1.3.1", only: [:dev, :test]},
{:ex_doc, "~> 0.29", only: [:dev, :test], runtime: false}
]
end
defp description() do
"Duration is a tiny package which allows to manipulate ISO 8601:2004 durations."
end
defp package do
[
name: "duration",
licenses: ["BSD-3-Clause"],
links: %{"Errorist" => "https://lab.errorist.xyz/elixir/duration"}
]
end
defp docs do
[
# main: "Duration", # The main page in the docs
# logo: "path/to/logo.png",
extras: [
"guides/advanced/timex.md"
],
groups_for_extras: [
Advanced: Path.wildcard("guides/advanced/*.md")
]
]
end
end