2019-06-24 10:56:27 +00:00
|
|
|
defmodule Linkify.Mixfile do
|
2017-03-29 14:11:22 +00:00
|
|
|
use Mix.Project
|
|
|
|
|
2019-06-24 10:56:27 +00:00
|
|
|
@version "0.1.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-24 10:56:27 +00:00
|
|
|
elixir: "~> 1.7",
|
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},
|
|
|
|
{:credo, "~> 1.1.0", 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"],
|
2019-06-24 10:56:27 +00:00
|
|
|
links: %{"GitLab" => "https://git.pleroma.social/pleroma/linkify"},
|
|
|
|
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
|