-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
59 lines (52 loc) · 1.15 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
defmodule WhatsappElixir.MixProject do
use Mix.Project
@version "0.1.3"
@repo_url "https://github.com/Maxino22/whatsapp_elixir"
def project do
[
app: :whatsapp_elixir,
version: @version,
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
description: "Open source Elixir wrapper for the WhatsApp Cloud API",
package: package(),
# Docs
name: "whatsapp_elixir",
docs: [
name: "whatsapp_elixir",
source_ref: "v#{@version}",
source_url: @repo_url,
homepage_url: @repo_url,
main: "readme",
extras: ["README.md"],
links: %{
"GitHub" => @repo_url,
"Sponsor" => "https://github.com/sponsors/Maxino22"
}
]
]
end
def package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @repo_url
}
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:req, "~> 0.3"},
{:jason, "~> 1.4"},
{:multipart, "~> 0.4.0"},
{:ex_doc, "~> 0.27.0", only: :dev, runtime: false}
]
end
end