forked from randycoulman/mix_test_interactive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
67 lines (60 loc) · 1.42 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
67
defmodule MixTestInteractive.MixProject do
use Mix.Project
@version "2.0.3"
@source_url "https://github.com/randycoulman/mix_test_interactive"
def project do
[
app: :mix_test_interactive,
deps: deps(),
description: description(),
docs: docs(),
elixir: "~> 1.12",
name: "mix test.interactive",
package: package(),
source_url: @source_url,
start_permanent: Mix.env() == :prod,
version: @version
]
end
def application do
[
extra_applications: [:logger, :file_system],
mod: {MixTestInteractive.Application, []}
]
end
defp description do
"Interactive test runner for mix test with watch mode."
end
defp deps do
[
{:ex_doc, "~> 0.31.1", only: :dev, runtime: false},
{:file_system, "~> 0.2 or ~> 1.0"},
{:styler, "~> 0.11.8", only: [:dev, :test], runtime: false},
{:temporary_env, "~> 2.0", only: :test},
{:typed_struct, "~> 0.3.0"}
]
end
defp docs do
[
extras: [
"CHANGELOG.md": [],
"LICENSE.md": [title: "License"],
"README.md": [title: "Overview"]
],
formatters: ["html"],
groups_for_modules: [
Commands: [~r/^MixTestInteractive\.Command\..*/]
],
main: "readme",
source_ref: "#{@version}"
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @source_url
}
]
end
end