forked from cpjk/canary
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
42 lines (37 loc) · 977 Bytes
/
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
defmodule Canary.Mixfile do
use Mix.Project
def project do
[app: :canary,
version: "1.1.1",
elixir: "~> 1.2",
package: package(),
description: """
An authorization library to restrict what resources the current user is
allowed to access, and load those resources for you.
""",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
consolidate_protocols: false,
docs: [extras: ["README.md"]]]
end
def application do
[applications: [:logger]]
end
defp package do
[maintainers: ["Chris Kelly"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/cpjk/canary"}]
end
defp deps do
[
{:ecto, ">= 1.1.0"},
{:canada, "~> 1.0.1"},
{:plug, "~> 1.0"},
{:ex_doc, "~> 0.7", only: :dev},
{:earmark, ">= 0.0.0", only: :dev},
{:mock, ">= 0.0.0", only: :test},
{:credo, "~> 0.5", only: [:dev, :test]}
]
end
end