/
mix.exs
60 lines (53 loc) · 1.33 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
defmodule CosmosDbEx.MixProject do
use Mix.Project
@source_link "https://github.com/jeramyRR/cosmos_db_ex"
def project do
[
app: :cosmos_db_ex,
version: "0.1.1",
elixir: "~> 1.11",
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
source_url: @source_link
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {CosmosDbEx.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:finch, "~> 0.7"},
{:jason, "~> 1.2"},
{:timex, "~> 3.7"},
# Develop Dependencies
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}
]
end
defp dialyzer do
[
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
end
defp description do
"Azure Cosmos Db driver using the SQL REST API."
end
defp package do
[
maintainers: ["Jeramy Singleton"],
files: ~w(lib .formatter.exs mix.exs README.md),
licenses: ["MIT"],
links: %{"GitHub" => @source_link}
]
end
end