-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
66 lines (59 loc) · 1.34 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
defmodule Cowrie.MixProject do
use Mix.Project
@version "0.3.2"
def project do
[
aliases: aliases(),
app: :cowrie,
description: "Simple stylable formatting for your CLI, Terminal, or Shell output",
package: package(),
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_add_apps: [:mix]
],
docs: [
source_ref: "v#{@version}",
main: "overview",
logo: "docs/logo.png",
extras: extras()
]
]
end
defp package do
[
maintainers: ["Everett Griffiths"],
licenses: ["MIT"],
links: %{github: "https://github.com/fireproofsocks/cowrie"}
]
end
# Extra pages for the docs
def extras do
[
"docs/overview.md",
"docs/config.md"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, "~> 1.3", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.2.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.22", only: [:dev, :test], runtime: false},
{:gettext, ">= 0.0.0"},
{:table_rex, "~> 3.0"}
]
end
defp aliases do
[
lint: ["format --check-formatted", "credo --strict"]
]
end
end