defmodule MultipassEx.MixProject do use Mix.Project def project do [ app: :multipass_ex, version: "0.1.1", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test ], dialyzer: [ flags: [ :unmatched_returns, :error_handling, :race_conditions, :no_opaque ] ], # Docs name: "multipass_ex", source_url: "https://github.com/activeprospect/multipass_ex" ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:jason, "~> 1.0"}, {:credo, "~> 0.9.0-rc1", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false}, {:excoveralls, "~> 0.8", only: :test}, {:stream_data, "~> 0.1", only: :test}, {:ex_doc, "~> 0.16", only: :dev, runtime: false} ] end defp description() do "Ruby compatible multipass encryption and decryption" end defp package() do [ # These are the default files included in the package files: ["lib", "test", "config", "mix.exs", "README*", "LICENSE*"], maintainers: ["Ivy Rogatko"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/activeprospect/multipass_ex"} ] end end