This repository has been archived by the owner on May 1, 2024. It is now read-only.
forked from smpallen99/coherence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
75 lines (69 loc) · 1.87 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
defmodule Coherence.Mixfile do
use Mix.Project
@version "0.6.0"
def project do
[
app: :coherence,
version: @version,
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
docs: [extras: ["README.md"], main: "Coherence"],
deps: deps(),
package: package(),
dialyzer: [plt_add_apps: [:mix]],
name: "Coherence",
description: """
A full featured, configurable authentication and user management system for Phoenix.
"""
]
end
# Configuration for the OTP application
def application do
[
mod: {Coherence, []},
applications: [
:logger,
:ecto_sql,
:elixir_uuid,
:phoenix_swoosh,
:tzdata,
:plug,
:phoenix,
:phoenix_html
]
]
end
defp elixirc_paths(:test), do: ["lib", "web", "test/support"]
defp elixirc_paths(_), do: ["lib", "web"]
defp deps do
[
{:ecto_sql, "~> 3.0"},
{:bcrypt_elixir, "~> 2.0.3"},
{:phoenix, "~> 1.4.9"},
{:phoenix_html, "~> 2.12"},
{:gettext, "~> 0.14"},
{:elixir_uuid, "~> 1.2"},
{:phoenix_swoosh, "~> 0.2"},
{:timex, "~> 3.6.1"},
{:floki, "~> 0.19", only: :test},
{:ex_doc, "~> 0.18.0", only: :dev},
{:earmark, "~> 1.2", only: :dev, override: true},
{:postgrex, "~> 0.14.0", only: :test},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:credo, "~> 0.8", only: [:dev, :test]},
{:plug, " ~> 1.8.3"},
{:jason, "~> 1.0"}
]
end
defp package do
[
maintainers: ["Stephen Pallen"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/smpallen99/coherence"},
files: ~w(lib priv README.md mix.exs LICENSE)
]
end
end