-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
47 lines (42 loc) · 1.07 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
defmodule AnsiToHTML.Mixfile do
use Mix.Project
def project do
[
app: :ansi_to_html,
version: "0.6.0",
elixir: "~> 1.11",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "AnsiToHTML",
source_url: "https://github.com/stephlow/ansi_to_html",
homepage_url: "https://github.com/stephlow/ansi_to_html",
docs: [main: "readme", extras: ["README.md"]]
]
end
def application do
[extra_applications: [:phoenix_html]]
end
defp deps do
[
{:phoenix_html, "~> 4.0"},
{:phoenix_html_helpers, "~> 1.0"},
{:ex_doc, "~> 0.25", only: :dev, runtime: false}
]
end
defp description do
"""
Small library to convert ANSI Styling codes to HTML.
"""
end
defp package do
[
maintainers: ["Stephan Lagerwaard"],
licenses: ["MIT"],
links: %{github: "https://github.com/stephlow/ansi_to_html"},
files: ["lib", "mix.exs", "README.md", "LICENSE"]
]
end
end