forked from mneudert/instream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
60 lines (49 loc) · 1.5 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 Instream.Mixfile do
use Mix.Project
@url_github "https://github.com/mneudert/instream"
def project do
[ app: :instream,
name: "Instream",
version: "0.13.0-dev",
elixir: "~> 1.0",
deps: deps,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
preferred_cli_env: [
coveralls: :test,
'coveralls.detail': :test,
'coveralls.travis': :test,
dialyze: :test,
docs: :docs,
'hex.docs': :docs
],
description: "InfluxDB driver for Elixir",
docs: docs,
package: package,
test_coverage: [ tool: ExCoveralls ] ]
end
def application do
[ applications: [ :hackney, :logger, :poison, :poolboy ] ]
end
defp deps do
[ { :earmark, "~> 0.2", only: :docs },
{ :ex_doc, "~> 0.11", only: :docs },
{ :dialyze, "~> 0.2", only: :test },
{ :excoveralls, "~> 0.5", only: :test },
{ :hackney, "~> 1.1" },
{ :poison, "~> 1.4 or ~> 2.0" },
{ :poolboy, "~> 1.5" } ]
end
defp docs do
[ extras: [ "CHANGELOG.md", "README.md" ],
main: "readme",
source_ref: "master",
source_url: @url_github ]
end
defp package do
%{ files: [ "CHANGELOG.md", "LICENSE", "mix.exs", "README.md", "lib" ],
licenses: [ "Apache 2.0" ],
links: %{ "GitHub" => @url_github },
maintainers: [ "Marc Neudert" ] }
end
end