-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
57 lines (54 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
Code.eval_file("mess.exs", (if File.exists?("../../lib/mix/mess.exs"), do: "../../lib/mix/"))
defmodule Bonfire.Data.Identity.MixProject do
use Mix.Project
def project do
if System.get_env("AS_UMBRELLA") == "1" do
[
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock"
]
else
[]
end
++
[
app: :bonfire_data_identity,
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
description:
"Identity-related database models (e.g. Account, User) for the bonfire ecosystem",
homepage_url: "https://github.com/bonfire-networks/bonfire_data_identity",
source_url: "https://github.com/bonfire-networks/bonfire_data_identity",
package: [
licenses: ["MPL 2.0"],
links: %{
"Repository" =>
"https://github.com/bonfire-networks/bonfire_data_identity",
"Hexdocs" => "https://hexdocs.pm/bonfire_data_identity"
}
],
docs: [
main: "readme",
extras: ["README.md"]
],
deps:
Mess.deps([
# {:needle, path: "../../../needle"},
# {:argon2_elixir, "~> 4.0", optional: true},
{:pbkdf2_elixir, "~> 2.0", only: [:dev, :test]},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:json_serde, "~> 1.1", optional: true},
{:nimble_totp, "~> 1.0.0", optional: true}
])
]
end
def application do
[
# env: [{Bonfire.Data.Identity.Credential, hasher_module: Argon2}],
extra_applications: [:logger]
]
end
end