forked from rrrene/credo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
41 lines (37 loc) · 996 Bytes
/
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
defmodule Credo.Mixfile do
use Mix.Project
def project do
[
app: :credo,
version: "0.6.1",
elixir: "~> 1.1",
escript: [main_module: Credo.CLI],
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
test_coverage: [tool: Coverex.Task],
name: "Credo",
description: "A static code analysis tool with a focus on code consistency and teaching.",
package: package()
]
end
defp package do
[
files: [".credo.exs", ".template.check.ex", "lib", "mix.exs",
"README.md", "LICENSE"],
maintainers: ["René Föhring"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/rrrene/credo"},
]
end
def application do
[mod: {Credo, []}, applications: [:bunt, :logger, :inets]]
end
defp deps do
[
{:bunt, "~> 0.2.0"},
{:inch_ex, "~> 0.5.3", only: [:dev, :test]},
{:coverex, "~> 1.4.9", only: :test}
]
end
end