forked from aesmail/kaffy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
67 lines (60 loc) · 1.4 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
defmodule Kaffy.MixProject do
use Mix.Project
@version "0.8.0"
def project do
[
app: :kaffy,
version: @version,
elixir: "~> 1.7",
compilers: [:phoenix] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
name: "Kaffy",
source_url: "https://github.com/aesmail/kaffy",
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Kaffy.Application, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:phoenix, "~> 1.4"},
{:phoenix_html, "~> 2.11"},
{:ecto, "~> 3.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description() do
"Powerfully simple admin package for phoenix applications"
end
defp package() do
[
maintainers: ["Abdullah Esmail"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/aesmail/kaffy",
"Demo" => "https://kaffy.gigalixirapp.com/admin/"
}
]
end
def docs() do
[
main: "readme",
name: "Kaffy",
source_ref: "v#{@version}",
canonical: "http://hexdocs.pm/kaffy",
source_url: "https://github.com/aesmail/kaffy",
extras: [
"README.md"
]
]
end
end