-
Notifications
You must be signed in to change notification settings - Fork 20
/
mix.exs
80 lines (71 loc) · 1.81 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
74
75
76
77
78
79
80
defmodule DocuSign.MixProject do
@moduledoc false
use Mix.Project
@version "1.2.0"
@url "https://github.com/neilberkman/docusign_elixir"
@maintainers [
"Neil Berkman"
]
def project do
[
name: "DocuSign",
app: :docusign,
version: @version,
elixir: "~> 1.12",
package: package(),
source_url: @url,
maintainers: @maintainers,
description: "Unofficial DocuSign Elixir Library used to interact with the eSign REST API.",
homepage_url: @url,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
docs: docs()
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {DocuSign.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:tesla, "~> 1.4"},
{:poison, "~> 5.0"},
{:joken, "~> 2.0"},
{:oauth2, "~> 2.0"},
{:plug_cowboy, "~> 2.0"},
{:castore, "~> 1.0"},
{:mint, "~> 1.0"},
# test
{:mock, "~> 0.3.2", only: :test},
{:bypass, "~> 2.1", only: :test},
{:mox, "~> 1.0", only: :test},
# dev
{:ex_doc, "~> 0.28", only: :dev},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false}
]
end
defp docs do
[
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: @url
]
end
defp package do
[
maintainers: @maintainers,
licenses: ["MIT"],
links: %{github: @url},
files: ~w(lib) ++ ~w(LICENSE mix.exs README.md)
]
end
end