-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
51 lines (46 loc) · 1.02 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
defmodule TypoKiller.MixProject do
use Mix.Project
@version "0.1.0"
@repo "https://github.com/samuelpordeus/typo_killer"
def project do
[
app: :typo_killer,
version: @version,
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: :transitive,
plt_add_apps: [:mix],
remove_defaults: [:unknown]
],
escript: escript(),
name: "Typo Killer",
source_url: @repo,
docs: [
main: "TypoKiller",
extras: ["README.md"]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp escript do
[
main_module: TypoKiller.CLI,
path: "bin/typokiller"
]
end
defp deps do
[
{:benchee, "~> 1.0", only: :dev},
{:credo, "~> 1.1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5.1", only: :dev, runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:flow, "~> 0.15.0"}
]
end
end