forked from chvanikoff/std_json_io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
55 lines (49 loc) · 1.14 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
defmodule StdJsonIo.Mixfile do
use Mix.Project
@version "0.1.0"
@url "https://github.com/hassox/std_json_io"
@maintainers ["Daniel Neighman"]
def project do
[app: :std_json_io,
name: "StdJsonIo",
version: @version,
package: package(),
elixir: "~> 1.1",
source_url: @url,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
maintainers: @maintainers,
description: "Application for managing and communicating with IO servers via JSON",
homepage_url: @url,
docs: docs(),
deps: deps()]
end
def application do
[
applications: [:logger, :porcelain],
mod: {StdJsonIo.Application, []}
]
end
def docs do
[
extras: ["README.md", "CHANGELOG.md"],
source_ref: "v#{@version}",
main: "extra-readme"
]
end
defp deps do
[
{:porcelain, "~> 2.0.3"},
{:poolboy, "~> 1.5.1"},
{:poison, "~> 2.0 or ~> 3.1.0"}
]
end
defp package do
[
maintainers: @maintainers,
licenses: ["MIT"],
links: %{github: @url},
files: ~w(lib) ++ ~w(CHANGELOG.md LICENSE mix.exs README.md)
]
end
end