forked from tony612/qiniu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
53 lines (45 loc) · 1.09 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
defmodule Qiniu.Mixfile do
use Mix.Project
@version "0.5.1"
def project do
[
app: :qiniu,
version: @version,
elixir: "~> 1.2",
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: preferred_cli_env(),
# Hex
description: description(),
package: package()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:jason, "~> 1.2"},
{:httpoison, "~> 2.0"},
{:ex_doc, "~> 0.16", only: :docs},
{:excoveralls, "~> 0.6", only: :test},
{:earmark, "~> 1.2", only: :docs},
{:inch_ex, "~> 0.5", only: :docs},
{:mock, "~> 0.2", only: :test}
]
end
defp description do
"Qiniu Resource (Cloud) Storage SDK for Elixir"
end
defp package do
[
maintainers: ["Tony Han"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/tony612/qiniu"},
files: ~w(mix.exs README.md CHANGELOG.md lib config)
]
end
defp preferred_cli_env do
[coveralls: :test, "coveralls.travis": :test, "coveralls.html": :test]
end
end