44 lines
837 B
Elixir
44 lines
837 B
Elixir
|
defmodule Decimal.Mixfile do
|
||
|
use Mix.Project
|
||
|
|
||
|
@version "2.1.1"
|
||
|
@source_url "https://github.com/ericmj/decimal"
|
||
|
|
||
|
def project() do
|
||
|
[
|
||
|
app: :decimal,
|
||
|
version: @version,
|
||
|
elixir: "~> 1.8",
|
||
|
deps: deps(),
|
||
|
name: "Decimal",
|
||
|
source_url: @source_url,
|
||
|
docs: [source_ref: "v#{@version}", main: "readme", extras: ["README.md"]],
|
||
|
description: description(),
|
||
|
package: package()
|
||
|
]
|
||
|
end
|
||
|
|
||
|
def application() do
|
||
|
[]
|
||
|
end
|
||
|
|
||
|
defp deps() do
|
||
|
[
|
||
|
{:ex_doc, ">= 0.0.0", only: :dev},
|
||
|
{:stream_data, "~> 0.5.0", only: :test}
|
||
|
]
|
||
|
end
|
||
|
|
||
|
defp description() do
|
||
|
"Arbitrary precision decimal arithmetic."
|
||
|
end
|
||
|
|
||
|
defp package() do
|
||
|
[
|
||
|
maintainers: ["Eric Meadows-Jönsson"],
|
||
|
licenses: ["Apache-2.0"],
|
||
|
links: %{"GitHub" => @source_url}
|
||
|
]
|
||
|
end
|
||
|
end
|