-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
47 lines (43 loc) · 935 Bytes
/
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
defmodule ReqHex.MixProject do
use Mix.Project
@version "0.2.1"
@source_url "https://github.com/wojtekmach/req_hex"
def project do
[
app: :req_hex,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
preferred_cli_env: [
docs: :docs,
"hex.publish": :docs
],
docs: [
source_url: @source_url,
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
],
package: [
description: "Req plugin for Hex API.",
licenses: ["Apache-2.0"],
links: %{
"GitHub" => @source_url
}
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:req, "~> 0.4.0 or ~> 0.5.0"},
{:hex_core, "~> 0.10.0"},
{:ex_doc, ">= 0.0.0", only: :docs}
]
end
end