vivid_png/mix.exs

64 lines
1.5 KiB
Elixir
Raw Normal View History

2017-01-12 08:40:31 +13:00
defmodule Vivid.PNG.Mixfile do
@moduledoc false
2017-01-12 08:40:31 +13:00
use Mix.Project
@version "0.2.0"
2017-01-12 08:40:31 +13:00
def project do
2018-09-04 14:52:12 +12:00
[
app: :vivid_png,
version: @version,
2018-09-04 14:52:12 +12:00
description: description(),
elixir: "~> 1.3",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
source_url: "https://harton.dev/james/vivid_png",
homepage_url: "https://harton.dev/james/vivid_png",
docs: [
extras: ["README.md", "CHANGELOG.md"]
]
2018-09-04 14:52:12 +12:00
]
2017-01-12 08:40:31 +13:00
end
def application do
[extra_applications: [:logger]]
2017-01-12 08:40:31 +13:00
end
def description do
"""
Generate PNG files with Vivid.
"""
end
def package do
[
maintainers: ["James Harton <james@harton.nz>"],
2018-09-04 14:52:12 +12:00
licenses: ["MIT"],
2017-01-12 08:40:31 +13:00
links: %{
"Source" => "https://harton.dev/james/vivid_png",
"GitHub" => "https://github.com/jimsynz/vivid_png",
"Changelog" => "https://docs.harton.nz/james/vivid_png/changelog.html",
"Sponsor" => "https://github.com/sponsors/jimsynz"
2017-01-12 08:40:31 +13:00
}
]
end
defp deps do
devtestopts = [only: ~w[dev test]a, runtime: false]
2017-01-12 08:40:31 +13:00
[
{:credo, "~> 1.6", devtestopts},
{:dialyxir, "~> 1.3", devtestopts},
{:doctor, "~> 0.21.0", devtestopts},
{:ex_check, "~> 0.16.0", devtestopts},
{:ex_doc, ">= 0.28.1", devtestopts},
{:git_ops, "~> 2.4", devtestopts},
{:mix_audit, "~> 2.1", devtestopts},
2021-12-08 17:39:27 +13:00
{:png, "~> 0.2"},
2018-09-04 14:52:12 +12:00
{:vivid, "~> 0.4"}
2017-01-12 08:40:31 +13:00
]
end
end