ex_abi/mix.exs

47 lines
1.1 KiB
Elixir

defmodule ABI.Mixfile do
use Mix.Project
def project do
[
app: :ex_abi,
version: "0.7.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.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:jason, "~> 1.4"},
{:ex_keccak, "~> 0.7.5"},
{:propcheck, "~> 1.4", only: [:test, :dev]}
]
end
defp dialyzer do
[
flags: [:error_handling, :underspecs, :unknown, :unmatched_returns]
]
end
end