Current section

Files

Jump to
Raw

mix.exs

defmodule AnsiToHTML.Mixfile do
use Mix.Project
def project do
[
app: :ansi_to_html,
version: "0.5.2",
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, "~> 3.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