Current section

Files

Jump to
toolshed mix.exs
Raw

mix.exs

defmodule Toolshed.MixProject do
use Mix.Project
@target Mix.Project.config()[:target]
def project do
[
app: :toolshed,
version: "0.1.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [extras: ["README.md"]],
description: description(),
package: package(),
dialyzer: [plt_add_apps: [:iex]]
]
end
def application do
[]
end
defp deps do
[
{:ex_doc, "~> 0.19", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.3", only: [:dev, :test], runtime: false}
| deps(@target)
]
end
defp deps(host) when host == "host" or host == nil do
[]
end
defp deps(_target) do
[
{:nerves_runtime, "~> 0.3"}
]
end
defp description do
"A toolshed full of IEx helpers"
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/fhunleth/toolshed"}
]
end
end