-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
69 lines (57 loc) · 1.52 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
66
67
68
69
defmodule Jeeves.Mixfile do
use Mix.Project
@version "0.1.3"
@deps [
{ :poolboy, "~> 1.5.0" },
{ :ex_doc, "~> 0.14", only: :dev, runtime: false }
]
@description """
Jeeves is library that transforms regular modules into named or anonymous
singleton or pooled GenServers. Just write your business functions, and Jeeves
will convert them into an API, a server, and potentially a pooled set of workers.
"""
# ------------------------------------------------------------
def project do
in_production = Mix.env == :prod
[
app: :jeeves,
version: @version,
elixir: ">= 1.4.2",
deps: @deps,
package: package(),
description: @description,
build_embedded: in_production,
start_permanent: in_production,
# Docs
name: "Jeeves",
source_url: "https://github.com/pragdave/jeeves",
homepage_url: "https://github.com/pragdave/jeeves",
docs: [
main: "README",
# logo: "path/to/logo.png",
extras: [ "README.md", "background.md", "LICENSE.md" ],
]
]
end
def application do
[
extra_applications: [:logger ],
]
end
defp package do
[
files: [
"lib", "mix.exs", "README.md", "LICENSE.md"
],
maintainers: [
"Dave Thomas <dave@pragdave.me>"
],
licenses: [
"Apache 2 (see the file LICENSE.md for details)"
],
links: %{
"GitHub" => "https://github.com/pragdave/jeeves",
}
]
end
end