-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
76 lines (71 loc) · 1.84 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 Pipette.MixProject do
use Mix.Project
def project do
[
app: :pipette,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package(),
name: "Pipette",
description: "Pipette is a flow-based programming (FBP) framework for Elixir.",
source_url: "https://github.com/suitepad-gmbh/pipette",
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
# gen_stage are Producer and consumer pipelines with back-pressure control
{:gen_stage, "~> 0.14"},
# HTTPoison is used to implement some test examples
{:httpoison, "~> 1.0", only: :test},
# jason is used to implement some test examples
{:jason, "~> 1.0", only: :test},
# ex_doc is used for generation documentation
{:ex_doc, "~> 0.18.0", only: :dev, runtime: false}
]
end
defp docs do
[
main: "Pipette",
groups_for_modules: [
"Helpers": [Pipette.GenStage, Pipette.OnDefinition, Pipette.Test],
"Stages": ~r/Pipette\.Stage/,
],
groups_for_extras: [
"Examples": ~r/examples/,
"Guides": ~r/guides/
],
extras: [
"guides/glossary.md",
"README.md": [title: "README"],
"examples/google_bot_verification.md": [title: "Example: Google Bot Verification"],
]
]
end
defp package do
[
name: "pipette",
files: [
"lib",
"config",
"mix.exs",
"README*",
"LICENSE*",
"guides",
"examples/*.md"
],
licenses: ["MIT"],
maintainers: ["Lukas Rieder", "Mario Olivio Flores", "Paul Spieker", "Hildebrando Rueda"],
links: %{
"Github": "https://github.com/suitepad-gmbh/pipette"
}
]
end
end