-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
48 lines (44 loc) · 1.14 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
defmodule MixMachine.MixProject do
use Mix.Project
def project do
[
app: :mix_machine,
description: "Produce machine readable output from Mix",
version: "0.1.1",
elixir: "~> 1.10",
compilers: compilers(Mix.env()) ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps(),
package: [
links: %{
"GitHub" => "https://github.com/hauleth/mix_machine"
},
licenses: ~w[MIT]
],
docs: [
main: "Mix.Tasks.Compile.Machine",
groups_for_modules: [
Formats: ~r/^MixMachine\.Format\./
],
extras: ~w[CHANGELOG.md]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp compilers(:dev), do: [:unused]
defp compilers(_), do: []
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:jason, "~> 1.0"},
{:credo, ">= 0.0.0", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:mix_unused, "~> 0.2.0", only: :dev, runtime: false}
]
end
end