-
Notifications
You must be signed in to change notification settings - Fork 12
/
mix.exs
55 lines (49 loc) · 1.22 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
defmodule MixAudit.MixProject do
use Mix.Project
@version "2.1.4"
def project do
[
app: :mix_audit,
version: @version,
elixir: "~> 1.8",
description: "MixAudit provides a `mix deps.audit` task to scan a project Mix dependencies for known Elixir security vulnerabilities",
source_url: "https://github.com/mirego/mix_audit",
homepage_url: "https://github.com/mirego/mix_audit",
docs: [
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/mirego/mix_audit"
],
start_permanent: false,
package: package(),
deps: deps(),
escript: escript()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:yaml_elixir, "~> 2.11"},
{:jason, "~> 1.4"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:credo_naming, "~> 2.1", only: [:dev, :test], runtime: false}
]
end
defp package do
%{
maintainers: ["Rémi Prévost"],
licenses: ["BSD-3-Clause"],
links: %{
"GitHub" => "https://github.com/mirego/mix_audit"
}
}
end
def escript do
[main_module: Mix.Tasks.Deps.Audit]
end
end