Packages
guard
0.4.0
0.19.1
0.19.0
0.18.0
0.17.2
0.17.1
0.17.0
0.16.3
0.16.2
0.16.1
0.16.0
0.15.3
0.15.2
0.15.1
0.15.0
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0
0.13.1
0.13.0
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.3
0.11.2
0.11.1
0.11.0
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.0
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0
Useful package for dealing with user authentication and signup
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Guard.Mixfile do
use Mix.Project
def project do
[app: :guard,
version: "0.4.0",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package(),
description: description(),
deps: deps()]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support", "test/helpers"]
defp elixirc_paths(_), do: ["lib"]
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[mod: {Guard, []},
applications: [:logger,
:ecto, :guardian, :bamboo, :comeonin, :inets, :gettext, :plug_cowboy,
:postgrex, :hackney, :tesla, :poison, :bcrypt_elixir, :jason]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[{:guardian, "~> 1.1.1"},
{:phoenix, "~>1.3.2"},
{:gettext, "~> 0.15.0"},
{:ecto, "~> 2.2.10"},
{:bamboo, "~> 1.1.0"},
{:comeonin, "~> 4.1.1"},
{:bcrypt_elixir, "~> 1.1.1"},
{:tesla, "~> 1.2.0"},
{:jason, "~> 1.0"},
{:plug_cowboy, "~> 1.0"},
{:poison, ">= 3.1.0"},
{:postgrex, ">= 0.13.5", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description() do
"Useful package for dealing with user authentication and signup"
end
defp package() do
[
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/codenaut/guard"}
]
end
end