defmodule ABI.Mixfile do use Mix.Project def project do [ app: :ex_abi, version: "0.5.2", elixir: "~> 1.8", description: "Ethereum's ABI Interface", package: [ maintainers: ["Ayrat Badykov, Victor Baranov"], licenses: ["GPL-3.0"], links: %{"GitHub" => "https://github.com/poanetwork/ex_abi"} ], build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: dialyzer() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:credo, "~> 1.4", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.0.0", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.21", only: :dev, runtime: false}, {:jason, "~> 1.2", only: [:dev, :test]}, {:ex_keccak, "~> 0.1.2"}, {:propcheck, "~> 1.1", only: [:test, :dev]} ] end defp dialyzer do [ flags: [:error_handling, :race_conditions, :underspecs, :unknown, :unmatched_returns] ] end end