defmodule PCA9685.MixProject do use Mix.Project @version "1.1.0" def project do [ app: :pca9685, version: @version, elixir: "~> 1.9", start_permanent: Mix.env() == :prod, description: "Driver for PCA9685 16 channel 12-bit PWM driver connected via I2C", 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 "], licenses: ["HL3-FULL"], links: %{ "Source" => "https://harton.dev/james/pca9685" } ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:wafer, "~> 1.1 and >= 1.1.1"}, {:circuits_i2c, "~> 2.0"}, {:circuits_gpio, "~> 2.0"}, {:nimble_options, "~> 1.0"}, {:mimic, "~> 1.7", only: ~w[dev test]a, runtime: false}, {:dialyxir, "~> 1.4", only: ~w[dev test]a, runtime: false}, {:doctor, "~> 0.22", only: ~w[dev test]a, runtime: false}, {:credo, "~> 1.6", only: ~w[dev test]a, runtime: false}, {:ex_check, "~> 0.16", only: ~w[dev test]a, runtime: false}, {:ex_doc, ">= 0.28.1", only: ~w[dev test]a, runtime: false}, {:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false} ] end end