2019-06-24 10:56:27 +00:00
|
|
|
defmodule Linkify.Mixfile do
|
2017-03-29 14:11:22 +00:00
|
|
|
use Mix.Project
|
|
|
|
|
2020-10-07 14:55:53 +00:00
|
|
|
@version "0.3.0"
|
2017-03-29 20:27:13 +00:00
|
|
|
|
2017-03-29 14:11:22 +00:00
|
|
|
def project do
|
2017-03-29 20:27:13 +00:00
|
|
|
[
|
2019-06-24 10:56:27 +00:00
|
|
|
app: :linkify,
|
2017-03-29 20:27:13 +00:00
|
|
|
version: @version,
|
2019-06-27 09:10:11 +00:00
|
|
|
elixir: "~> 1.8",
|
2019-02-05 11:22:51 +00:00
|
|
|
build_embedded: Mix.env() == :prod,
|
|
|
|
start_permanent: Mix.env() == :prod,
|
2017-03-29 20:27:13 +00:00
|
|
|
deps: deps(),
|
|
|
|
docs: [extras: ["README.md"]],
|
|
|
|
package: package(),
|
2019-06-24 10:56:27 +00:00
|
|
|
name: "Linkify",
|
2017-03-29 20:27:13 +00:00
|
|
|
description: """
|
2019-06-24 10:56:27 +00:00
|
|
|
Linkify is a basic package for turning website names into links.
|
2017-03-29 20:27:13 +00:00
|
|
|
"""
|
2019-02-05 11:22:51 +00:00
|
|
|
]
|
2017-03-29 14:11:22 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
# Configuration for the OTP application
|
|
|
|
def application do
|
|
|
|
# Specify extra applications you'll use from Erlang/Elixir
|
|
|
|
[extra_applications: [:logger]]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Dependencies can be Hex packages:
|
|
|
|
defp deps do
|
2017-03-29 20:27:13 +00:00
|
|
|
[
|
2019-06-24 11:05:01 +00:00
|
|
|
{:ex_doc, "~> 0.20", only: :dev, runtime: false},
|
2020-11-16 22:18:32 +00:00
|
|
|
{:credo, "~> 1.5", only: [:dev, :test], runtime: false}
|
2017-03-29 20:27:13 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
defp package do
|
2019-02-05 11:22:51 +00:00
|
|
|
[
|
2017-03-29 20:27:13 +00:00
|
|
|
licenses: ["MIT"],
|
2020-07-20 10:55:09 +00:00
|
|
|
links: %{"GitLab" => "https://git.pleroma.social/pleroma/elixir-libraries/linkify"},
|
2019-06-24 10:56:27 +00:00
|
|
|
files: ~w(lib priv README.md mix.exs LICENSE)
|
2019-02-05 11:22:51 +00:00
|
|
|
]
|
2017-03-29 14:11:22 +00:00
|
|
|
end
|
|
|
|
end
|