-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
70 lines (65 loc) · 1.93 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
defmodule SecureX.MixProject do
use Mix.Project
def project do
[
app: :securex,
version: "1.0.5",
maintainers: ["Wasi Ur Rahman"],
licenses: ["Apache 2.0"],
description:
"SecureX is Role Based Access Control(RBAC) and Access Control List (ACL) to handle User Roles And Permissions.",
links: %{"GitHub" => "https://github.com/wasitanbits/secruex"},
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "SecureX",
source_url: "https://github.com/wasitanbits/secruex",
homepage_url: "https://github.com/wasitanbits/secruex",
docs: [
# The main page in the docs
main: "SecureX",
extras: ["README.md"],
api_reference: false
]
]
end
defp description do
"""
SecureX is Role Based Access Control(RBAC) and Access Control List (ACL) to handle User Roles And Permissions.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Wasi Ur Rahman"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/wasitanbits/secruex"},
description:
"SecureX is Role Based Access Control(RBAC) and Access Control List (ACL) to handle User Roles And Permissions."
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {SecureX.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
defp deps do
[
[
{:phoenix, "~> 1.6"},
{:ecto_sql, "~> 3.7"},
{:sage, "~> 0.6.1"}
],
[
{:sobelow, "~> 0.11", only: [:dev, :test], runtime: true},
{:mix_audit, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:credo, "~> 1.6.4", only: [:dev, :test], runtime: false}
]
]
|> Enum.concat()
end
end