-
Notifications
You must be signed in to change notification settings - Fork 27
/
mix.exs
56 lines (50 loc) · 1.15 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
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],
included_applications: [:fs]
]
end
def docs do
[
extras: ["README.md", "CHANGELOG.md"],
source_ref: "v#{@version}",
main: "extra-readme"
]
end
defp deps do
[
{:porcelain, "~> 2.0"},
{:poolboy, "~> 1.5.1"},
{:poison, "~> 1.5.0"},
{:fs, "~> 0.9.1"},
]
end
defp package do
[
maintainers: @maintainers,
licenses: ["MIT"],
links: %{github: @url},
files: ~w(lib) ++ ~w(CHANGELOG.md LICENSE mix.exs README.md)
]
end
end