-
Notifications
You must be signed in to change notification settings - Fork 20
/
mix.exs
76 lines (68 loc) · 1.55 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
70
71
72
73
74
75
76
defmodule Component.MixProject do
use Mix.Project
@moduledoc """
The component framework is meant to make it easy to decompose an
application into many simple services. It does this by eliminating
boilerplate code in common service patterns: source files can be just
domain logic. See the GitHub repo for details.
"""
def project do
[
app: :component,
version: "0.2.6",
elixir: "~> 1.6",
deps: deps(),
description: @moduledoc,
package: package(),
start_permanent: Mix.env() == :prod,
] ++ docs()
end
defp docs do
[
name: "Component",
source_url: "https://github.com/pragdave/component",
homepage_url: "https://github.com/pragdave/component",
docs: [
extras: [ "README.md" ],
main: "readme",
logo: "assets/color_puzzle_background_531533.png",
assets: "assets",
]
]
end
def application do
[
mod: {
Component.Application, []
},
extra_applications: [
:logger
]
]
end
defp deps do
[
{ :statix, ">= 1.0.0" },
{ :poolboy, ">= 0.0.0" },
{ :ex_doc, ">= 0.0.0", only: :dev },
]
end
defp package do
[
files: [
"lib",
"mix.exs",
"README.md",
],
contributors: [
"Dave Thomas <[email protected]>",
],
licenses: [
"Same as Elixir"
],
links: %{
"GitHub" => "https://github.com/pragdave/component"
},
]
end
end