-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
61 lines (56 loc) · 1.61 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
defmodule SimpleHttp.Mixfile do
use Mix.Project
def project do
[
app: :simplehttp,
version: "0.5.1",
elixir: "~> 1.4",
description: description(),
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
dialyzer: [
plt_add_deps: :transitive,
plt_add_apps: [:mix],
flags: [:race_conditions, :no_opaque]
]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[extra_applications: [ssl: :optional, inets: :optional]]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:plug_cowboy, "~> 2.6", only: :test, runtime: false},
{:excoveralls, "~> 0.15", only: :test, runtime: false},
{:dialyxir, "~> 1.2", only: [:dev], runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false}
]
end
defp description do
"""
HTTP client for Elixir without dependencies.
"""
end
defp package do
# These are the default files included in the package
[
name: :simplehttp,
description: "HTTP client for Elixir without dependencies",
files: ["lib", "config", "mix.exs", "README*"],
maintainers: ["Bagu Alexandru Bogdan"],
licenses: ["Apache 2.0"],
links: %{
"GitHub" => "https://github.com/alexandrubagu/simplehttp",
"Docs" => "https://github.com/alexandrubagu/simplehttp",
"Website" => "http://www.alexandrubagu.info"
}
]
end
end