-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
52 lines (46 loc) · 1.19 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
defmodule BeamInspect.MixProject do
use Mix.Project
@version "0.1.1"
def project do
[
app: :beam_inspect,
deps: deps(),
description: "Inspect how your elixir module looks like in erlang / core erlang",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.json": :test
],
source_url: "https://github.com/appunite/beam_inspect",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: @version
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:excoveralls, "~> 0.8.0", only: :test, runtime: false},
{:ex_doc, "~> 0.13", only: :dev, runtime: false}
]
end
defp elixirc_paths(:dev), do: ["lib", "test/support"]
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
maintainers: ["Tobiasz Małecki"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/appunite/beam_inspect"
}
]
end
end