-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
69 lines (64 loc) · 1.66 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 ProtocolEx.Mixfile do
use Mix.Project
def project do
[
app: :protocol_ex,
version: "0.5.0",
elixir: "~> 1.15",
description: description(),
package: package(),
docs: [
extras: ["README.md"],
main: "readme",
#markdown_processor: ExDocMakeup,
#markdown_processor_options: [
# lexer_options: %{
# "elixir" => [
# extra_declarations: [
# "defimplEx", "defimpl_ex",
# "defprotocolEx", "defprotocol_ex"],
# extra_def_like: ["deftest"]]
# }
#]
],
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
]
end
def description do
"""
Extended Protocol library using Matchers
"""
end
def package do
[
licenses: ["MIT"],
name: :protocol_ex,
maintainers: ["OvermindDL1"],
links: %{"Github" => "https://github.com/OvermindDL1/protocol_ex"}
]
end
def application do
# Specify extra applications you'll use from Erlang/Elixir
[
extra_applications: [
# :logger,
] ++ if(Mix.env() in [:test], do: [:stream_data], else: [])
]
end
defp deps do
[
# Optional dependencies
{:stream_data, "~> 0.5.0", optional: true, only: [:dev, :test]},
# Documentation
{:ex_doc, ">= 0.19.0-rc", only: [:dev]},
#{:ex_doc_makeup, ">= 0.1.0", only: [:dev]},
# Testing only
{:cortex, "~> 0.5.0", only: [:test]},
{:benchee, "~> 0.14.0", only: [:test]},
{:numbers, "~> 5.1", only: [:test]},
{:decimal, "~> 1.3", only: [:test]}
]
end
end