-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
45 lines (39 loc) · 875 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
37
38
39
40
41
42
43
44
45
defmodule Timeout.Mixfile do
use Mix.Project
@version "0.3.0"
@description "A module for working with configurable timeouts."
@repo_url "https://github.com/bschaeffer/timeout"
def project do
[
app: :timeout,
version: @version,
elixir: "~> 1.4",
start_permanent: Mix.env == :prod,
deps: deps(),
# Hex
description: @description,
package: package(),
# ExDoc
name: "Timeout",
docs: [
main: "readme",
source_ref: "v#{@version}",
source_url: @repo_url,
extras: ["README.md"]
]
]
end
def package do
[
maintainers: ["Braden Schaeffer"],
licenses: ["MIT"],
links: %{"GitHub" => @repo_url}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.15", only: :dev}
]
end
end