Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (57 sloc) 1.46 KB
defmodule RaiEx.Mixfile do
use Mix.Project
# Somewhat hacky way of setting env variables of ed25519
Application.put_env(:ed25519, :hash_fn, {Blake2, :hash2b, [], []})
def project do
[
app: :rai_ex,
version: "0.3.1",
elixir: "~> 1.5",
start_permanent: Mix.env == :prod,
deps: deps(),
docs: docs(),
package: package(),
description: description(),
source_url: "https://github.com/willHol/rai_ex",
name: "RaiEx"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {RaiEx.Application, []},
extra_applications: [:logger, :httpoison]
]
end
def docs do
[
main: "RaiEx",
logo: "logo.png",
extras: ["README.md"]
]
end
defp description() do
"An Elixir client for managing a RaiBlocks node."
end
def package do
[
licenses: ["Apache 2.0"],
maintainers: ["William Holmes"],
links: %{"GitHub" => "https://github.com/willHol/rai_ex"},
source_url: "https://github.com/willHol/rai_ex"
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:poison, "~> 3.1"},
{:httpoison, "~> 0.13.0"},
{:decimal, "~> 1.4"},
{:blake2, "~> 1.0"},
{:ed25519, "~> 1.1"},
{:credo, "~> 0.8.8", only: :dev, runtime: false},
{:ex_doc, "~> 0.18", only: :dev, runtime: false},
{:inch_ex, "~> 0.5.6", only: [:dev, :test]}
]
end
end