pca9641/mix.exs
Renovate Bot 7831fdd69b
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:23:46 +13:00

60 lines
1.7 KiB
Elixir

defmodule PCA9641.MixProject do
use Mix.Project
@version "2.0.1"
def project do
[
app: :pca9641,
version: @version,
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
description: "Driver for PCA9641 2-channel I2C bus master arbiter chip",
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/pca9641",
"GitHub" => "https://github.com/jimsynz/pca9641",
"Changelog" => "https://docs.harton.nz/james/pca9641/changelog.html",
"Sponsor" => "https://github.com/sponsors/jimsynz"
}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:circuits_gpio, "~> 1.0", optional: true},
{: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