Packages

Cash-flow analysis for Elixir: XIRR/IRR, net present value, modified IRR, time-value-of-money, and depreciation.

Current section

Files

Jump to
finance mix.exs
Raw

mix.exs

defmodule Finance.Mixfile do
use Mix.Project
def project do
[app: :finance,
version: "0.0.1",
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: "A library to calculate Xirr through the bisection method using parallel processes.",
deps: deps]
end
def application do
[applications: [:logger, :tzdata]]
end
defp description do
"""
A library to calculate Xirr through the bisection method using parallel processes.
"""
end
defp package do
[
files: ["lib", "priv", "mix.exs", "README*"],
maintainers: ["Roberto Trevisan"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/tubedude/finance-elixir"}
]
end
defp deps do
# []
[
{:timex, "~> 1.0.0-rc2"},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.10", only: :dev},
# {:credo, "~> 0.1.0"}
]
end
end