James Harton
b8624141f2
All checks were successful
continuous-integration/drone/push Build is passing
* Add Drone CI configuration * Change URLs * Remove Gitlab CI configuration Reviewed-on: #26 Co-authored-by: James Harton <james@harton.nz> Co-committed-by: James Harton <james@harton.nz>
52 lines
1.3 KiB
Elixir
52 lines
1.3 KiB
Elixir
defmodule PCA9641.MixProject do
|
|
use Mix.Project
|
|
|
|
@version "2.0.0"
|
|
|
|
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()
|
|
]
|
|
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"
|
|
}
|
|
]
|
|
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_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
|