Current section

Files

Jump to

mix.exs

defmodule Nerves.NetworkInterface.Mixfile do
use Mix.Project
def project do
[
app: :nerves_network_interface,
version: "0.4.6",
elixir: "~> 1.4",
build_embedded: true,
start_permanent: Mix.env() == :prod,
compilers: [:elixir_make] ++ Mix.compilers(),
make_targets: ["all"],
make_clean: ["clean"],
deps: deps(),
docs: [extras: ["README.md"], main: "readme"],
package: package(),
description: description()
]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[extra_applications: [:logger], mod: {Nerves.NetworkInterface.Application, []}]
end
defp description do
"""
Discover, setup, and get stats on network interfaces.
"""
end
defp package do
%{
files: [
"lib",
"src/*.[ch]",
"src/test-c99.sh",
"test",
"mix.exs",
"README.md",
"LICENSE",
"CHANGELOG.md",
"Makefile"
],
maintainers: ["Frank Hunleth"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/nerves-project/nerves_network_interface"}
}
end
defp deps do
[
{:dialyxir, ">= 0.5.1", only: [:dev, :test], runtime: false},
{:elixir_make, "~> 0.5", runtime: false},
{:ex_doc, "~> 0.19", only: [:dev, :test], runtime: false}
]
end
end