defmodule MotorHat.Mixfile do use Mix.Project def project do [app: :motor_hat, name: "motor hat", source_url: "https://github.com/matthewphilyaw/motor_hat", version: "0.6.0", elixir: "~> 1.1", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description, package: package, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [applications: [:logger], mod: {MotorHat, []}] end # Type "mix help deps" for more examples and options defp deps do [ {:elixir_ale, "~> 0.4.0"} ] end defp description do """ Elixir implementation of the pyhton motor_hat library from Adafruit for there motor_hat board. Library: https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library Board: https://www.adafruit.com/product/2348 """ end defp package do [ maintainers: ["Matthew Philyaw"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/matthewphilyaw/motor_hat"} ] end end