2017-02-17 11:35:50 +13:00
|
|
|
defmodule Ease.Mixfile do
|
|
|
|
use Mix.Project
|
|
|
|
|
2024-02-23 09:57:32 +13:00
|
|
|
@version "1.0.1"
|
2020-12-28 20:13:12 +13:00
|
|
|
|
2017-02-17 11:35:50 +13:00
|
|
|
def project do
|
2018-09-04 21:45:10 +12:00
|
|
|
[
|
|
|
|
app: :ease,
|
|
|
|
description: description(),
|
2020-12-28 20:13:12 +13:00
|
|
|
version: @version,
|
2018-09-04 21:45:10 +12:00
|
|
|
elixir: "~> 1.3",
|
|
|
|
build_embedded: Mix.env() == :prod,
|
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
package: package(),
|
2024-02-23 09:56:20 +13:00
|
|
|
deps: deps(),
|
|
|
|
docs: [
|
|
|
|
main: "readme",
|
|
|
|
extras: ["README.md", "CHANGELOG.md"]
|
|
|
|
]
|
2018-09-04 21:45:10 +12:00
|
|
|
]
|
2017-02-17 11:35:50 +13:00
|
|
|
end
|
|
|
|
|
|
|
|
def description do
|
|
|
|
"""
|
|
|
|
Simple implementation of standard animation easing functions.
|
|
|
|
"""
|
|
|
|
end
|
|
|
|
|
|
|
|
def package do
|
|
|
|
[
|
2020-12-28 20:13:12 +13:00
|
|
|
maintainers: ["James Harton <james@harton.nz>"],
|
2023-01-17 11:13:07 +13:00
|
|
|
licenses: ["HL3-FULL"],
|
2017-02-17 11:35:50 +13:00
|
|
|
links: %{
|
2024-02-23 09:56:20 +13:00
|
|
|
"Source" => "https://harton.dev/james/ease",
|
|
|
|
"GitHub" => "https://github.com/jimsynz/ease",
|
|
|
|
"Changelog" => "https://docs.harton.nz/james/ease/changelog.html",
|
|
|
|
"Sponsor" => "https://github.com/sponsors/jimsynz"
|
2017-02-17 11:35:50 +13:00
|
|
|
}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Configuration for the OTP application
|
|
|
|
#
|
|
|
|
# Type "mix help compile.app" for more information
|
|
|
|
def application do
|
2024-02-14 13:21:09 +13:00
|
|
|
[extra_applications: [:logger]]
|
2017-02-17 11:35:50 +13:00
|
|
|
end
|
|
|
|
|
|
|
|
# Dependencies can be Hex packages:
|
|
|
|
#
|
|
|
|
# {:my_dep, "~> 0.3.0"}
|
|
|
|
#
|
|
|
|
# Or git/path repositories:
|
|
|
|
#
|
|
|
|
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
|
|
|
|
#
|
|
|
|
# Type "mix help deps" for more examples and options
|
|
|
|
defp deps do
|
|
|
|
[
|
2021-12-09 11:40:51 +13:00
|
|
|
{:credo, "~> 1.6", only: ~w[dev test]a, runtime: false},
|
2024-02-14 13:21:09 +13:00
|
|
|
{:dialyxir, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
|
|
|
{:doctor, "~> 0.21", only: ~w[dev test]a, runtime: false},
|
|
|
|
{:earmark, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
|
|
|
{:ex_doc, "~> 0.30", only: ~w[dev test]a, runtime: false},
|
2021-12-09 16:23:05 +13:00
|
|
|
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false}
|
2017-02-17 11:35:50 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|