-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
73 lines (66 loc) · 1.59 KB
/
mix.exs
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
69
70
71
72
73
defmodule PgMoney.MixProject do
use Mix.Project
@version "0.4.21"
def project do
[
app: :pg_money,
version: @version,
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
# Docs
name: "PgMoney",
description: description(),
source_url: "https://github.com/CodeJordan23/pg_money",
docs: [
main: "readme",
logo: "pg_money.png",
extras: [
"README.md",
"FAIL_IN_THREE_ACTS.md",
"LESSONS_LEARNED.md"
]
],
#
package: package()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:postgrex, ">= 0.0.0"},
{:decimal, ">= 0.0.0"},
{:telemetry, "~> 0.4.0"},
{:propcheck, "~> 1.1", only: [:test, :dev]},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:credo, "~> 1.1.0", only: [:dev, :test], runtime: false},
{:elixir_uuid, "~> 1.2", only: [:test, :dev]}
]
end
defp package() do
[
files: [
"lib",
"mix.exs",
"README.md",
"LICENSE-2.0.txt",
"FAIL_IN_THREE_ACTS.md",
"LESSONS_LEARNED.md"
],
maintainers: ["Michael J. Lüttjohann"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/CodeJordan23/pg_money"}
]
end
defp description(),
do: """
Adds support for PostgreSQL's money data type.
"""
end