-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
55 lines (49 loc) · 1.04 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
defmodule TaskAfter.Mixfile do
use Mix.Project
def project do
[
app: :task_after,
version: "1.2.0",
elixir: "~> 1.4",
description: description(),
package: package(),
docs: docs(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
]
end
def description do
"""
This is a library to call a function after a set delay. Usage is as simple as: `TaskAfter.task_after(500, fn -> do_something_after_500_ms() end)`
"""
end
def package do
[
licenses: ["MIT"],
name: :task_after,
maintainers: ["OvermindDL1"],
links: %{
"Github" => "https://github.com/OvermindDL1/task_after",
},
]
end
def docs do
[
#logo: "path/to/logo.png",
extras: ["README.md"],
main: "readme",
]
end
def application do
[
extra_applications: [:logger],
mod: {TaskAfter.Application, []},
]
end
defp deps do
[
{:ex_doc, "~> 0.21.1", only: [:dev]},
]
end
end