-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
61 lines (56 loc) · 1.82 KB
/
mix.exs
File metadata and controls
61 lines (56 loc) · 1.82 KB
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
61
defmodule ElasticsearchElixirBulkProcessor.MixProject do
use Mix.Project
def project do
[
app: :elasticsearch_elixir_bulk_processor,
name: "Elasticsearch Elixir Bulk Processor",
version: String.trim(File.read!("VERSION")),
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
description: description(),
deps: deps(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {ElasticsearchElixirBulkProcessor.Application, []}
]
end
defp description do
"Elasticsearch Elixir Bulk Processor is a configurable manager for efficiently inserting data into Elasticsearch. This processor uses genstages for handling backpressure, and various settings to control the bulk payloads being uploaded to Elasticsearch."
end
defp package() do
[
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE* VERSION
CHANGELOG*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/sashman/elasticsearch_elixir_bulk_processor"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:elasticsearch, "~> 1.0.0"},
{:poison, "~> 3.1"},
{:gen_stage, "~> 1.0"},
{:excoveralls, "~> 0.10", only: :test},
{:eliver, "~> 2.0", only: :dev},
{:size, "~> 0.1.0"},
{:mock, "~> 0.3.0", only: :test},
{:retry, "~> 0.13"},
{:ex_doc, "~> 0.23", only: :dev, runtime: false},
{:telemetry, "~> 0.4"}
]
end
end