-
Notifications
You must be signed in to change notification settings - Fork 8
/
mix.exs
61 lines (55 loc) · 1.27 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
defmodule OriginSimulator.MixProject do
use Mix.Project
@description """
A tool to simulate a (flaky) upstream origin during load and stress tests.
"""
def project do
[
app: :origin_simulator,
version: "1.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
# Docs
name: "OriginSimulator",
description: @description,
source_url: "https://github.com/bbc/origin_simulator",
homepage_url: "https://github.com/bbc/origin_simulator",
docs: [
main: "README",
extras: ["README.md"]
]
]
end
def application do
[
extra_applications: [:logger],
mod: {OriginSimulator.Application, []}
]
end
defp deps do
[
{:plug, "~> 1.13"},
{:cowboy, "~> 2.9"},
{:plug_cowboy, "~> 2.6"},
{:poison, "~> 5.0"},
{:httpoison, "~> 2.0"},
{:distillery, "~> 2.1"},
{:ex_doc, "~> 0.29", only: :dev, runtime: false}
]
end
defp package do
[
name: "origin_simulator",
maintainers: [
"bbc",
"JoeARO",
"ettomatic",
"samfrench"
],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/bbc/origin_simulator"}
]
end
end