-
Notifications
You must be signed in to change notification settings - Fork 58
/
mix.exs
60 lines (54 loc) · 1.61 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
defmodule Kitto.Mixfile do
use Mix.Project
@version "0.9.2"
def project do
[app: :kitto,
version: @version,
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
dialyzer: [
flags: [:unmatched_returns, :error_handling, :race_conditions, :no_opaque, :underspecs],
paths: ["_build/dev/lib/kitto/ebin"]],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.travis": :test,
"coveralls.html": :test],
name: "Kitto",
source_url: "https://github.com/kittoframework/kitto",
docs: [extras: ["README.md"], main: "readme"]
]
end
def application do
[mod: {Kitto, []},
applications: [:logger]]
end
defp deps do
[{:cowboy, "~> 1.0.0"},
{:plug, "~> 1.3.2"},
{:poison, "~> 3.0"},
{:fs, "~> 2.12.0"},
{:httpoison, "~> 0.11.1"},
{:ex_doc, "~> 0.14", only: :dev},
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
{:credo, "~> 0.9", only: [:dev, :test]},
{:mock, "~> 0.2", only: :test},
{:excoveralls, "~> 0.5", only: :test},
{:inch_ex, "~> 0.5", only: :docs}]
end
defp description, do: "Framework for creating interactive dashboards"
defp package do
[
files: ["lib", "priv", "mix.exs", "package.json", "*.md"],
maintainers: ["Dimitris Zorbas"],
licenses: ["MIT"],
links: %{github: "https://github.com/kittoframework/kitto"}
]
end
end