2016-12-21 13:34:16 +13:00
|
|
|
defmodule Vivid.Mixfile do
|
2023-07-25 20:29:42 +12:00
|
|
|
@moduledoc false
|
2016-12-21 13:34:16 +13:00
|
|
|
use Mix.Project
|
|
|
|
|
2023-07-25 20:29:42 +12:00
|
|
|
@version "0.4.4"
|
2017-03-27 10:44:02 +13:00
|
|
|
|
2016-12-21 13:34:16 +13:00
|
|
|
def project do
|
2018-01-19 09:06:04 +13:00
|
|
|
[
|
|
|
|
app: :vivid,
|
|
|
|
version: @version,
|
|
|
|
description: description(),
|
|
|
|
elixir: "~> 1.3",
|
|
|
|
build_embedded: Mix.env() == :prod,
|
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
package: package(),
|
|
|
|
deps: deps(),
|
2024-03-06 19:50:39 +13:00
|
|
|
source_url: "https://harton.dev/james/vivid",
|
|
|
|
homepage_url: "https://harton.dev/james/vivid",
|
2018-01-19 09:06:04 +13:00
|
|
|
docs: [
|
|
|
|
source_ref: "v#{@version}",
|
|
|
|
main: "Vivid",
|
|
|
|
canonical: "http://hexdocs.pm/vivid",
|
2024-02-05 15:20:22 +13:00
|
|
|
source_url: "https://harton.dev/james/vivid",
|
2024-03-06 19:50:39 +13:00
|
|
|
extras: ["guides/getting-started.md", "README.md", "CHANGELOG.md"]
|
2018-01-19 09:06:04 +13:00
|
|
|
]
|
|
|
|
]
|
2016-12-21 13:34:16 +13:00
|
|
|
end
|
|
|
|
|
|
|
|
# Configuration for the OTP application
|
|
|
|
#
|
|
|
|
# Type "mix help compile.app" for more information
|
|
|
|
def application do
|
2023-07-25 20:29:42 +12:00
|
|
|
[extra_applications: [:logger]]
|
2016-12-21 13:34:16 +13:00
|
|
|
end
|
|
|
|
|
2016-12-21 13:38:08 +13:00
|
|
|
def description do
|
|
|
|
"""
|
|
|
|
Simple 2D rendering graphics rendering library.
|
|
|
|
"""
|
|
|
|
end
|
|
|
|
|
|
|
|
def package do
|
|
|
|
[
|
2023-07-25 20:29:42 +12:00
|
|
|
maintainers: ["James Harton <james@harton.nz>"],
|
2018-01-19 09:06:04 +13:00
|
|
|
licenses: ["MIT"],
|
2017-01-02 20:50:40 +13:00
|
|
|
links: %{
|
2024-03-06 19:50:39 +13:00
|
|
|
"Source" => "https://harton.dev/james/vivid",
|
|
|
|
"GitHub" => "https://github.com/jimsynz/vivid",
|
|
|
|
"Changelog" => "https://docs.harton.nz/james/vivid/changelog.html",
|
|
|
|
"Sponsor" => "https://github.com/sponsors/jimsynz"
|
|
|
|
},
|
|
|
|
source_url: "https://harton.dev/james/vivid"
|
2016-12-21 13:38:08 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2016-12-21 13:34:16 +13:00
|
|
|
# Dependencies can be Hex packages:
|
|
|
|
#
|
|
|
|
# {:mydep, "~> 0.3.0"}
|
|
|
|
#
|
|
|
|
# Or git/path repositories:
|
|
|
|
#
|
|
|
|
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
|
|
|
|
#
|
|
|
|
# Type "mix help deps" for more examples and options
|
|
|
|
defp deps do
|
2023-07-25 20:29:42 +12:00
|
|
|
opts = [only: ~w[dev test]a, runtime: false]
|
|
|
|
|
2017-01-02 20:51:37 +13:00
|
|
|
[
|
2023-07-25 20:29:42 +12:00
|
|
|
{:credo, "~> 1.7", opts},
|
|
|
|
{:dialyxir, "~> 1.3", opts},
|
|
|
|
{:doctor, "~> 0.21", opts},
|
|
|
|
{:earmark, ">= 0.0.0", opts},
|
2024-03-01 23:28:24 +13:00
|
|
|
{:ex_check, "~> 0.16", opts},
|
2023-07-25 20:29:42 +12:00
|
|
|
{:ex_doc, ">= 0.0.0", opts},
|
|
|
|
{:git_ops, "~> 2.6", opts},
|
|
|
|
{:mix_audit, "~> 2.1", opts}
|
2017-01-02 20:51:37 +13:00
|
|
|
]
|
2016-12-21 13:34:16 +13:00
|
|
|
end
|
|
|
|
end
|