Current section

Files

Jump to
diceware mix.exs
Raw

mix.exs

defmodule Diceware.MixProject do
use Mix.Project
def project do
[
app: :diceware,
description: "Generate passphrases using the Diceware method",
package: package(),
version: "0.2.9",
elixir: "~> 1.10",
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
flags: ["-Wunmatched_returns", :error_handling, :race_conditions, :underspecs]
],
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
{:jason, "~> 1.2"},
{:stream_data, "~> 0.5.0", only: [:dev, :test]}
]
end
defp package do
[
licenses: ["3-Clause BSD License"],
files: ["lib", "mix.exs", "README.md", "LICENSE*"],
maintainers: ["Matt Silbernagel"],
links: %{:GitHub => "https://github.com/silbermm/diceware"}
]
end
end