Current section
Files
Jump to
Current section
Files
vintage_net_qmi
mix.exs
mix.exs
defmodule VintageNetQMI.MixProject do
use Mix.Project
@version "0.2.13"
@source_url "https://github.com/nerves-networking/vintage_net_qmi"
def project do
[
app: :vintage_net_qmi,
version: @version,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
dialyzer: [
flags: [:unmatched_returns, :error_handling, :race_conditions, :underspecs]
],
docs: docs(),
package: package(),
preferred_cli_env: [
docs: :docs,
"hex.build": :docs,
"hex.publish": :docs
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:vintage_net, "~> 0.10.0 or ~> 0.11.0"},
{:qmi, "~> 0.8.1"},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.23", only: :docs, runtime: false},
{:excoveralls, "~> 0.14", only: :test, runtime: false}
]
end
defp description do
"VintageNet Support for QMI Cellular Modems"
end
def docs do
[
assets: "assets",
extras: ["README.md", "CHANGELOG.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
end
def package do
[
files: [
"lib",
"CHANGELOG.md",
"LICENSE",
"mix.exs",
"README.md"
],
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url}
]
end
end