-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
71 lines (64 loc) · 1.67 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
defmodule Flippant.Mixfile do
use Mix.Project
@version "2.0.0"
def project do
[
app: :flippant,
version: @version,
elixir: "~> 1.10",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
description: description(),
package: package(),
name: "Flippant",
deps: deps(),
docs: docs(),
dialyzer: [
flags: [:error_handling, :race_conditions, :underspecs],
plt_add_apps: [:db_connection, :decimal, :jason, :postgrex, :redix]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp description do
"""
Fast feature toggling for applications, with plugable backends.
"""
end
defp package do
[
maintainers: ["Parker Selbert"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/sorentwo/flippant"},
files: ~w(lib mix.exs README.md CHANGELOG.md)
]
end
defp deps do
[
{:jason, "~> 1.0"},
{:postgrex, "~> 0.14", optional: true},
{:redix, "~> 1.0", optional: true},
{:benchee, "~> 1.0", only: [:dev], runtime: false},
{:credo, "~> 1.0", only: [:dev], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.19", only: [:dev], runtime: false},
{:inch_ex, "~> 2.0", only: [:dev], runtime: false},
{:excoveralls, "~> 0.11", only: [:dev, :test], runtime: false}
]
end
defp docs do
[
main: "Flippant",
source_ref: @version,
source_url: "https://github.com/sorentwo/flippant",
extras: [
"CHANGELOG.md"
]
]
end
end