Current section

Files

Jump to
Raw

mix.exs

defmodule Nerves.Runtime.Mixfile do
use Mix.Project
def project do
[app: :nerves_runtime,
version: "0.4.2",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
make_clean: ["clean"],
compilers: [:elixir_make | Mix.compilers],
description: description(),
package: package(),
docs: docs(),
deps: deps()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger],
mod: {Nerves.Runtime.Application, []}]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[{:elixir_make, "~> 0.4", runtime: false},
{:system_registry, "~> 0.3"},
{:ex_doc, "~> 0.11", only: :dev}]
end
defp docs do
[extras: ["README.md"],
main: "readme"]
end
defp description do
"""
Small, general runtime libraries and utilities for Nerves devices
"""
end
defp package do
[maintainers: ["Frank Hunleth", "Justin Schneck", "Greg Mefford"],
files: ["lib", "LICENSE", "mix.exs", "README.md", "src/*.[ch]", "Makefile"],
licenses: ["Apache 2.0"],
links: %{"Github" => "https://github.com/nerves-project/nerves_runtime"}]
end
end