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
|
defmodule Recaptcha.Mixfile do
use Mix.Project
def project do
[app: :recaptcha,
version: "2.0.0",
elixir: "~> 1.2",
description: description,
deps: deps,
package: package]
end
def application do
[applications: [:logger, :httpoison]]
end
defp description do
"""
A simple reCaptcha package for Elixir applications, provides verification
and templates for rendering forms with the reCaptcha widget
"""
end
defp deps do
[
{:httpoison, "~> 0.9.0"},
{:poison, "~> 2.0"},
{:credo, "~> 0.4", only: [:dev, :test]},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Samuel Seay"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/samueljseay/recaptcha"}]
end
end
|