-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathmix.exs
48 lines (41 loc) · 1.2 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
defmodule Tirexs.Mixfile do
use Mix.Project
def project do
[
app: :tirexs,
name: "Tirexs",
version: "0.8.16",
source_url: github(),
homepage_url: github(),
elixir: ">= 1.3.0",
description: description(),
package: package(),
deps: deps(),
docs: [extras: ["README.md", "CONTRIBUTING.md"]]
]
end
def application do
[ applications: [:exjsx, :inets, :logger], env: env() ]
end
defp env do
[ uri: %URI{ authority: "127.0.0.1:9200", scheme: "http", host: "127.0.0.1", port: 9200 } ]
end
defp deps do
[ {:exjsx, "~> 3.2.0"}, {:ex_doc, "~> 0.12", only: :dev}, {:earmark, "~> 1.0", only: :dev} ]
end
defp description do
"""
An Elixir flavored DSL for building JSON based queries to Elasticsearch engine
"""
end
defp package do
[
maintainers: ["Aleksey Zatvobor"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => github(), "Contributors" => contributors(), "Issues" => issues()}
]
end
defp github, do: "https://github.com/Zatvobor/tirexs"
defp contributors, do: "https://github.com/Zatvobor/tirexs/graphs/contributors"
defp issues, do: "https://github.com/Zatvobor/tirexs/issues"
end