This repository was archived by the owner on Feb 6, 2023. 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
58 lines (53 loc) · 1.35 KB
/
mix.exs
File metadata and controls
58 lines (53 loc) · 1.35 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
defmodule Tiger.MixProject do
use Mix.Project
def project do
[
app: :tiger,
version: "0.3.0",
elixir: "~> 1.10",
description: "Elixir client for interacting with Stripe's API",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
package: package(),
docs: [
extras: ["README.md"],
assets: "assets",
main: "readme"
]
]
end
def package do
[
licenses: ["MIT"],
maintainers: ["Martin Feckie"],
links: %{
Github: "https://github.com/htdc/tiger"
}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :castore, :gun, :idna]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:castore, "~> 0.1"},
{:certifi, "~> 2.0"},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:gun, "~> 1.3.3"},
{:idna, "~> 6.0"},
{:jason, "~> 1.2"},
{:nug, "~> 0.4", only: [:test]},
{:plug, "~> 1.0"},
{:ssl_verify_fun, "~> 1.0"},
{:tesla, "~> 1.4.0"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support", "test/support/test_helpers"]
defp elixirc_paths(_), do: ["lib"]
end