-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
72 lines (63 loc) · 1.87 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
61
62
63
64
65
66
67
68
69
70
71
72
defmodule Ballast.MixProject do
use Mix.Project
def project do
[
app: :ballast,
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, "coveralls.travis": :test, "coveralls.html": :test],
aliases: aliases(),
docs: [
extras: ["README.md"],
main: "readme"
],
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Ballast.Application, []}
]
end
defp aliases do
[lint: ["format", "credo", "dialyzer"]]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:bonny, "~> 0.3"},
{:k8s, "~> 0.3"},
{:jason, "~> 1.1"},
{:notion, "~> 0.2"},
# Metrics
{:telemetry, "~> 0.4"},
{:telemetry_metrics, "~> 0.3"},
{:telemetry_metrics_prometheus, "~> 0.1"},
{:telemetry_poller, "~> 0.3.0"},
# GoogleApi requires Poison 3, but doesnt include it in its deps :(
# https://github.com/googleapis/elixir-google-api/issues/1232
{:poison, "~> 3.1"},
{:goth, "~> 1.1"},
{:google_api_container, "~> 0.5"},
{:google_api_compute, "~> 0.6"},
# Dev deps
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0-rc.4", only: :dev, runtime: false},
{:ex_doc, "~> 0.20", only: :dev},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
# Test Deps
{:excoveralls, "~> 0.10", only: :test}
]
end
end