aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs37
1 files changed, 37 insertions, 0 deletions
diff --git a/mix.exs b/mix.exs
new file mode 100644
index 0000000..780ed45
--- /dev/null
+++ b/mix.exs
@@ -0,0 +1,37 @@
+defmodule Recaptcha.Mixfile do
+ use Mix.Project
+
+ def project do
+ [app: :recaptcha,
+ version: "0.0.1",
+ elixir: "~> 1.0.0",
+ description: description,
+ deps: deps,
+ package: package]
+ end
+
+ def application do
+ [applications: [:logger, :httpotion]]
+ end
+
+ defp description do
+ """
+ A simple reCaptcha package for Phoenix applications.
+ """
+ end
+
+ defp deps do
+ [
+ {:ibrowse, github: "cmullaparthi/ibrowse", tag: "v4.1.2"},
+ {:httpotion, "~> 2.1.0"},
+ {:poison, "~> 1.5"}
+ ]
+ end
+
+ defp package do
+ [files: ["lib", "mix.exs", "README.md", "LICENSE"],
+ contributors: ["Alekseev Mikhail"],
+ licenses: ["MIT"],
+ links: %{"GitHub" => "https://github.com/JustMikey/recaptcha"}]
+ end
+end