forked from danschultzer/premailex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
56 lines (49 loc) · 1.29 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
defmodule Premailex.Mixfile do
use Mix.Project
@version "0.3.4"
def project do
[
app: :premailex,
version: @version,
elixir: "~> 1.5",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
description: "Add inline styling to your HTML emails, and transform them to text",
package: package(),
# Docs
name: "Premailex",
docs: [
source_ref: "v#{@version}",
main: "Premailex",
canonical: "http://hexdocs.pm/premailex",
source_url: "https://github.com/danschultzer/premailex",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:floki, ">= 0.19.0 or < 0.21.0"},
{:meeseeks, ">= 0.9.0 or < 0.11.0", optional: true},
{:httpoison, "~> 0.13 or ~> 1.0"},
{:credo, "~> 0.10", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
maintainers: ["Dan Shultzer"],
licenses: ["MIT"],
links: %{github: "https://github.com/danschultzer/premailex"},
files: ~w(lib LICENSE mix.exs README.md)
]
end
end