defmodule Diceware.MixProject do use Mix.Project def project do [ app: :diceware, description: "Generate passphrases using the Diceware method", package: package(), version: "0.2.4", 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.4", only: [:dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, {:dialyxir, "~> 1.0", only: [:dev], runtime: false}, {:jason, "~> 1.1"}, {:stream_data, "~> 0.5.0", only: [:dev, :test]} ] end defp package do [ licenses: ["3-Clause BSD License"], files: ["lib", "mix.exs", "README.md", "LICENSE*", "priv"], maintainers: ["Matt Silbernagel"], links: %{:GitHub => "https://github.com/silbermm/diceware"} ] end end