pca9641/mix.exs

60 lines
1.7 KiB
Elixir
Raw Normal View History

2019-10-11 18:27:16 +13:00
defmodule PCA9641.MixProject do
use Mix.Project
2024-02-23 20:25:43 +13:00
@version "2.0.1"
2019-10-11 18:27:16 +13:00
def project do
[
app: :pca9641,
version: @version,
2019-10-11 18:27:16 +13:00
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
2019-10-11 21:25:29 +13:00
description: "Driver for PCA9641 2-channel I2C bus master arbiter chip",
deps: deps(),
2024-02-23 20:25:03 +13:00
package: package(),
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
2019-10-11 18:27:16 +13:00
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
2020-01-12 20:56:23 +13:00
extra_applications: [:logger]
2019-10-11 18:27:16 +13:00
]
end
2019-10-11 21:25:29 +13:00
def package do
[
2023-01-17 11:05:28 +13:00
maintainers: ["James Harton <james@harton.nz>"],
licenses: ["HL3-FULL"],
2019-10-11 21:25:29 +13:00
links: %{
2024-02-23 20:25:03 +13:00
"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"
2019-10-11 21:25:29 +13:00
}
]
end
2019-10-11 18:27:16 +13:00
# 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"}
2019-10-11 18:27:16 +13:00
]
end
end