mpl3115a2/mix.exs

59 lines
1.6 KiB
Elixir
Raw Normal View History

2019-10-07 13:04:11 +13:00
defmodule MPL3115A2.MixProject do
use Mix.Project
2024-02-23 20:19:17 +13:00
@version "1.0.1"
2019-10-07 13:04:11 +13:00
def project do
[
app: :mpl3115a2,
version: @version,
2019-10-07 13:04:11 +13:00
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
2019-10-07 15:10:06 +13:00
description: "Driver for the MPL3115A2 altimeter connected via I2C.",
deps: deps(),
2024-02-23 20:17:41 +13:00
package: package(),
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
2019-10-07 13:04:11 +13:00
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
2020-01-23 17:30:48 +13:00
extra_applications: [:logger]
2019-10-07 13:04:11 +13:00
]
end
2019-10-07 15:10:06 +13:00
def package do
[
2023-01-17 11:03:54 +13:00
maintainers: ["James Harton <james@harton.nz>"],
licenses: ["HL3-FULL"],
2019-10-07 15:10:06 +13:00
links: %{
2024-02-23 20:17:41 +13:00
"Source" => "https://harton.dev/james/mpl3115a2",
"GitHub" => "https://github.com/jimsynz/mpl3115a2",
"Changelog" => "https://docs.harton.nz/james/mpl3115a2/changelog.html",
"Sponsor" => "https://github.com/sponsors/jimsynz"
2019-10-07 15:10:06 +13:00
}
]
end
2019-10-07 13:04:11 +13:00
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:circuits_i2c, "~> 2.0", optional: true},
{: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},
{:earmark, "~> 1.4", only: ~w[dev test]a, runtime: false},
2020-01-23 17:30:48 +13:00
{:elixir_ale, "~> 1.2", optional: true},
2024-02-23 20:17:54 +13:00
{:ex_check, "~> 0.15", only: ~w[dev test]a, runtime: false},
{:ex_doc, "~> 0.30", only: ~w[dev test]a, runtime: false},
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false},
{:mimic, "~> 1.5", only: :test},
{:wafer, "~> 1.0"}
2019-10-07 13:04:11 +13:00
]
end
end