Packages

Drive WS2812B "NeoPixel" RGB LED strips from a Raspberry Pi using Elixir.

Current section

Files

Jump to
Raw

mix.exs

defmodule Nerves.Neopixel.Mixfile do
use Mix.Project
def project do
[app: :nerves_neopixel,
version: "0.3.2",
description: "Drive WS2812B \"NeoPixel\" RGB LED strips from a Raspberry Pi using Elixir.",
elixir: "~> 1.3",
make_clean: ["clean"],
compilers: [:elixir_make | Mix.compilers],
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package(),
deps: deps()]
end
def application do
[applications: [:logger]]
end
defp deps do
[{:elixir_make, "~> 0.4", runtime: false}]
end
defp package do
[files: [
"lib",
"src/*.c",
"src/*.h",
"src/rpi_ws281x/*.c",
"src/rpi_ws281x/*.h",
"config",
"mix.exs",
"README*",
"LICENSE*",
"Makefile"
],
maintainers: ["Greg Mefford"],
licenses: ["MIT", "BSD 2-Clause"],
links: %{"GitHub" => "https://github.com/GregMefford/nerves_neopixel"}]
end
end