-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
61 lines (56 loc) · 1.35 KB
/
mix.exs
File metadata and controls
61 lines (56 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
59
60
61
defmodule Pepper.HTTP.MixProject do
use Mix.Project
def project do
[
app: :pepper_http,
version: "0.7.0",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
elixirc_options: [
warnings_as_errors: true,
],
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
package: package(),
source_url: "https://github.com/Tychron/pepper_http",
homepage_url: "https://github.com/Tychron/pepper_http",
]
end
def application do
[
extra_applications: [:logger]
]
end
def elixirc_paths(:test), do: ["lib", "test/support"]
def elixirc_paths(_), do: ["lib"]
defp deps do
[
# Parse accept headers
{:accept, "~> 0.3.5"},
# Needed for some utility functions
{:plug, "~> 1.6"},
# JSON Parser
{:jason, "~> 1.2"},
# XML Parser
{:sweet_xml, "~> 0.6"},
# XML Encoder
{:xml_builder, "~> 2.0"},
# CSV
{:csv, "~> 2.0"},
# HTTP Library
{:mint, "~> 1.0"},
# Certificate Store
{:castore, "~> 0.1 or ~> 1.0"},
{:bypass, "~> 1.0 or ~> 2.1", [only: :test]},
]
end
defp package do
[
maintainers: ["Tychron Developers <developers@tychron.co>"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/Tychron/pepper_http"
},
]
end
end