This repository was archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
68 lines (63 loc) · 1.41 KB
/
mix.exs
File metadata and controls
68 lines (63 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
defmodule Mpdecimal.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/SpiffInc/mpdecimal"
def project do
[
app: :mpdecimal,
compilers: [:elixir_make] ++ Mix.compilers(),
make_targets: ["all"],
make_clean: ["clean"],
version: "0.1.0",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: [
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:decimal, "~> 2.0"},
{:elixir_make, "~> 0.6", runtime: false},
{:ex_doc, "~> 0.24.2", only: :dev},
{:benchee, "~> 1.0", only: :dev}
]
end
defp package do
[
description: "Provide fixed-decimal precision math as a NIF",
files: [
"lib",
"priv",
".formatter.exs",
"mix.exs",
"README*",
"LICENSE*",
"CHANGELOG*",
"Makefile",
"c_lib/mpdecimal-*.tar.gz",
"c_lib/Makefile",
"c_src"
],
name: "mpdecimal",
licenses: ["MIT"],
links: %{"github" => @source_url},
maintainers: [
"Jonner Steck",
"Michael Ries"
]
]
end
end