59 lines
1.6 KiB
Elixir
59 lines
1.6 KiB
Elixir
defmodule Angle.Mixfile do
|
|
use Mix.Project
|
|
|
|
@description """
|
|
Tired of forever converting back and forwards between degrees and radians?
|
|
Well worry no more; Angle is here to make your life simple!
|
|
"""
|
|
@version "1.0.1"
|
|
|
|
def project do
|
|
[
|
|
app: :angle,
|
|
version: @version,
|
|
elixir: "~> 1.5",
|
|
start_permanent: Mix.env() == :prod,
|
|
package: package(),
|
|
description: @description,
|
|
deps: deps(),
|
|
docs: [
|
|
main: "readme",
|
|
extras: ["README.md", "CHANGELOG.md"]
|
|
]
|
|
]
|
|
end
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger]
|
|
]
|
|
end
|
|
|
|
def package do
|
|
[
|
|
maintainers: ["James Harton <james@harton.nz>"],
|
|
licenses: ["HL3-FULL"],
|
|
links: %{
|
|
"Source" => "https://harton.dev/james/angle",
|
|
"GitHub" => "https://github.com/jimsynz/angle",
|
|
"Changelog" => "https://docs.harton.nz/james/angle/changelog.html",
|
|
"Sponsor" => "https://github.com/sponsors/jimsynz"
|
|
}
|
|
]
|
|
end
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
defp deps do
|
|
[
|
|
{:credo, "~> 1.6", only: ~w[dev test]a, runtime: false},
|
|
{:dialyxir, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
|
{:doctor, "~> 0.21", only: ~w[dev test]a, runtime: false},
|
|
{:ex_check, "~> 0.16", only: ~w[dev test]a, runtime: false},
|
|
{:ex_doc, "~> 0.30", only: ~w[dev test]a, runtime: false},
|
|
{:earmark, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
|
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false}
|
|
]
|
|
end
|
|
end
|