-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
36 lines (31 loc) · 761 Bytes
/
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
defmodule Milliseconds.Mixfile do
use Mix.Project
def project do
[ app: :milliseconds,
version: "0.0.1",
elixir: "~> 1.0",
description: description,
package: package,
description: description
]
end
def application do
[]
end
defp description do
"""
Simple library to work with milliseconds.
Convert text to milliseconds: convert("2d")
Convert milliseconds to text: convert(8640000)
Calculate future time: future_time("6hrs")
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*"],
contributors: ["Dave Bryson"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/davebryson/elixir_milliseconds"}
]
end
end