This repository has been archived by the owner on May 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
60 lines (55 loc) · 1.77 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 Hipchat.Mixfile do
use Mix.Project
@github_url "https://github.com/ymtszw/hipchat_elixir"
def project() do
[
app: :hipchat_elixir,
version: "0.5.1",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: false,
deps: deps(),
elixirc_paths: paths(),
dialyzer: [plt_add_deps: :transitive, plt_add_apps: [:eex, :mix]],
description: "HipChat client library for Elixir",
source_url: @github_url,
docs: [
main: "readme",
extras: [
"README.md",
"CONTRIBUTION.md",
"doc_src/authentication.md",
]
],
package: [
files: ["lib", "mix.exs", "LICENSE", "README.md", "CHANGELOG.md"],
licenses: ["MIT"],
maintainers: ["Yu Matsuzawa"],
links: %{
"GitHub" => @github_url,
"CHANGELOG" => "#{@github_url}/blob/master/CHANGELOG.md"
},
],
]
end
defp deps() do
[
{:dialyxir , "~> 0.5" , only: :dev , runtime: false },
{:exsync , "~> 0.1" , only: :dev , runtime: Mix.env() == :dev },
{:ex_doc , "~> 0.14", only: :dev , runtime: false },
{:yamerl , "~> 0.4" , only: [:dev, :test], runtime: Mix.env() == :test},
{:stream_data, "~> 0.4" , only: :test },
{:poison , "~> 2.0" , only: [:dev, :test] },
]
end
defp paths() do
case Mix.env() do
:dev -> ["lib", "generator"]
:test -> ["lib", "generator"]
_else -> ["lib"]
end
end
def application() do
[extra_applications: [:inets]]
end
end