-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
54 lines (48 loc) · 1.12 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
defmodule Sobelow.Mixfile do
use Mix.Project
@source_url "https://github.com/nccgroup/sobelow"
@version "0.11.2"
def project do
[
app: :sobelow,
version: @version,
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: "Security-focused static analysis for the Phoenix framework",
name: "Sobelow",
homepage_url: "https://sobelow.io",
docs: docs(),
escript: [main_module: Mix.Tasks.Sobelow]
]
end
def application do
[extra_applications: [:logger, :eex, :inets]]
end
defp deps do
[
{:ex_doc, "~> 0.20", only: :dev},
{:jason, "~> 1.0"}
]
end
defp package() do
[
licenses: ["Apache-2.0"],
maintainers: ["Griffin Byatt"],
links: %{
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"GitHub" => @source_url
}
]
end
defp docs() do
[
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["README.md", "CHANGELOG.md"]
]
end
end