-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
87 lines (78 loc) · 2.09 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
77
78
79
80
81
82
83
84
85
86
87
defmodule Mimicry.MixProject do
use Mix.Project
def project do
[
app: :mimicry,
version: "0.0.0",
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
# Docs
name: "Mimicry",
source_url: "https://github.com/floriank/mimicry",
# TODO: Someone make a website plz.
homepage_url: "https://mimicry.tech",
docs: [
main: "Mimicry",
logo: "assets/mimicry-chest-mini-light.png"
],
test_coverage: [tool: ExCoveralls]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Mimicry.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:jason, "~> 1.0"},
{:phoenix, "~> 1.5"},
{:plug_cowboy, "~> 2.4"},
{:yaml_elixir, "~> 2.6"},
# dev
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:dogma, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:dialyxir, "~> 1.3.0", only: [:dev], runtime: false},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:inch_ex, github: "asaaki/inch_ex", only: [:dev, :test]}
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def aliases, do: []
defp description do
"""
A small server to generate on demand mock servers based on a specification
"""
end
defp package do
[
name: :mimicry,
files: [
"lib/",
"mix.exs",
"README*",
"LICENSE*"
],
maintainers: [
"Florian Kraft"
],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/floriank/mimicry"
}
]
end
end