defmodule Mailman.Mixfile do
use Mix.Project
def project do
[
app: :mailman,
name: "Mailman",
source_url: "https://github.com/kamilc/mailman",
homepage_url: "https://github.com/kamilc/mailman",
description: "Library providing a clean way of defining mailers in Elixir apps",
package: package(),
version: "0.4.1",
elixir: "~> 1.0",
deps: deps()
]
end
# Configuration for the OTP application
def application do
[applications: [:ssl, :crypto, :eiconv, :gen_smtp, :httpotion]]
end
# Returns the list of dependencies in the format:
defp deps do
[
{:eiconv, "~> 1.0.0"},
{:gen_smtp, "~> 0.13.0"},
{:ex_doc, ">= 0.19.1", only: :dev},
{:httpotion, "~> 3.1.0"},
{:credo, "~> 0.10", only: [:dev, :test], runtime: false}
]
end
defp package do
[
files: ["lib", "docs", "LICENSE", "README", "mix.exs"],
maintainers: ["Kamil Ciemniewski <ciemniewski.kamil@gmail.com>"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/kamilc/mailman",
"Docs" => "http://hexdocs.pm/mailman"
}
]
end
end