Packages

A library for encoding, decoding and validating transactions used for the OMG Network Plasma contracts.

Current section

Files

Jump to
ex_plasma mix.exs
Raw

mix.exs

defmodule ExPlasma.MixProject do
use Mix.Project
def project do
[
app: :ex_plasma,
version: "0.1.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
description: description(),
package: package(),
dialyzer: dialyzer()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
applications: [:ethereumex],
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:ethereumex, "~> 0.5.5"},
{:ex_abi, "~> 0.1.0"},
{:ex_rlp, "~> 0.5.2"},
{:exth_crypto, "~> 0.1.0"},
{:exvcr, "~> 0.10", only: :test},
{:libsecp256k1, "~> 0.1.0"},
{:merkle_tree, "~> 1.6.1"},
{:stream_data, "~>0.4.3", only: :test},
{:excoveralls, "~> 0.10", only: :test},
{:ex_doc, ">= 0.0.0"}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp description do
"Elixir client library to the OmiseGO Plasma Framework"
end
defp package do
[
name: "ex_plasma",
files: ~w(lib mix.exs README.md LICENSE),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/omisego/ex_plasma"}
]
end
defp dialyzer do
[
flags: [:error_handling, :race_conditions, :underspecs, :unknown, :unmatched_returns],
ignore_warnings: "dialyzer.ignore-warnings",
list_unused_filters: true,
plt_add_apps: plt_apps()
]
end
defp plt_apps,
do: [
:ex_abi,
:ex_rlp,
:exth_crypto,
:merkle_tree,
:libsecp256k1
]
end