-
Notifications
You must be signed in to change notification settings - Fork 11
/
mix.exs
54 lines (48 loc) · 1.15 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
defmodule Erl2ex.Mixfile do
use Mix.Project
def project do
[
app: :erl2ex,
version: "0.0.10",
elixir: "~> 1.4",
name: "Erl2ex",
source_url: "https://github.com/dazuma/erl2ex",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
escript: [main_module: Erl2ex.Cli],
deps: deps(),
docs: docs(),
description: description(),
package: package()
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.13", only: :dev},
{:credo, "~> 0.4", only: :dev}
]
end
defp docs do
[
extras: ["README.md", "LICENSE.md", "CHANGELOG.md"]
]
end
defp description do
"""
Erl2ex is an Erlang to Elixir transpiler, converting well-formed Erlang
source to Elixir source with equivalent functionality.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE.md", "CHANGELOG.md"],
maintainers: ["Daniel Azuma"],
licenses: ["BSD"],
links: %{"GitHub" => "https://github.com/dazuma/erl2ex"}
]
end
end