-
Notifications
You must be signed in to change notification settings - Fork 26
/
mix.exs
49 lines (44 loc) · 1.31 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
defmodule Sugar.Mixfile do
use Mix.Project
def project do
[ app: :sugar,
elixir: "~> 1.2",
version: "0.5.0",
name: "Sugar",
source_url: "https://github.com/sugar-framework/sugar",
homepage_url: "https://sugar-framework.github.io",
deps: deps(),
package: package(),
description: description(),
docs: [readme: "README.md", main: "README"],
test_coverage: [tool: ExCoveralls] ]
end
def application do
[ applications: [ :cowboy, :plug, :templates, :poison, :plugs ],
mod: { Sugar.App, [] } ]
end
defp deps do
[ { :cowboy, "~> 1.0" },
{ :plug, "~> 1.0" },
{ :http_router, "~> 0.10" },
{ :poison, "~> 3.0" },
{ :plugs, "~> 0.1" },
{ :templates, "~> 0.0" },
{ :earmark, "~> 0.1", only: :docs },
{ :ex_doc, "~> 0.8", only: :docs },
{ :excoveralls, "~> 0.3", only: :test },
{ :dialyze, "~> 0.2", only: :test } ]
end
defp description do
"""
Modular web framework
"""
end
defp package do
%{maintainers: ["Shane Logsdon", "Ryan S. Northrup"],
files: ["lib", "mix.exs", "README.md", "LICENSE"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/sugar-framework/sugar",
"Docs" => "https://sugar-framework.github.io/docs/"}}
end
end