mpl3115a2/mix.exs
Renovate Bot d20dd6fe0f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update dependency ex_check to ~> 0.16
2024-03-01 23:22:10 +13:00

59 lines
1.6 KiB
Elixir

defmodule MPL3115A2.MixProject do
use Mix.Project
@version "1.0.1"
def project do
[
app: :mpl3115a2,
version: @version,
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
description: "Driver for the MPL3115A2 altimeter connected via I2C.",
deps: deps(),
package: package(),
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/mpl3115a2",
"GitHub" => "https://github.com/jimsynz/mpl3115a2",
"Changelog" => "https://docs.harton.nz/james/mpl3115a2/changelog.html",
"Sponsor" => "https://github.com/sponsors/jimsynz"
}
]
end
# 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},
{:elixir_ale, "~> 1.2", optional: true},
{:ex_check, "~> 0.16", 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"}
]
end
end