Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Hcsr04.MixProject do
use Mix.Project
def project do
[
app: :hcsr04,
version: "0.1.0",
elixir: "~> 1.11",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
name: "Nerves_Hcsr04",
source_url: "https://github.com/elixir-ecto/postgrex"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:circuits_gpio, "~> 0.4"},
{:ex_doc, "~> 0.14", only: :dev, runtime: false}
]
end
defp description() do
"Interface with the HC-SR04 ultrasonic distance sensor."
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "hcsr04",
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/OleMchls/nerves_hcsr04"}
]
end
end