-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
51 lines (44 loc) · 1.18 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
defmodule MailerLite.Mixfile do
use Mix.Project
@version "0.3.0"
@github "https://github.com/nathanhornby/mailerlite-elixir"
def project do
[app: :mailerlite,
name: "MailerLite",
version: @version,
elixir: "~> 1.8",
source_url: @github,
package: package(),
description: description(),
docs: [
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md"]
],
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
end
def application do
[extra_applications: [:logger, :httpoison]]
end
defp description do
"""
**WORK IN PROGRESS - NOT READY FOR PRODUCTION USE, CHECK BACK SOON**
An Elixir wrapper for v2 of the MailerLite API.
"""
end
defp package do
[maintainers: ["Nathan Hornby"],
licenses: ["MIT"],
links: %{"GitHub" => @github,
"Docs" => "https://hexdocs.pm/mailerlite"}]
end
defp deps do
[{:httpoison, "~> 1.5"},
{:poison, "~> 4.0"},
{:credo, "~> 1.0", only: [:dev, :test]},
{:ex_doc, "~> 0.20", only: :dev, runtime: false},
{:inch_ex, "~> 2.0", only: :dev, runtime: false}]
end
end